Error handling with chained resources. - SolidJS