Handling errors in createResource - SolidJS