Open
Description
My app is using push state routing. In my resolve functions, I am doing some checks before returning a successful callback. For example, you visit book/50
, and I do a check to ensure that book 50 exists, the user has permission, etc. If there is a problem, I am doing a callback.redirect()
to an error page, and sending an error object in the parameters. However, the object doesn't make it intact to the error state's resolve function, as it gets turned into a parameter on the query line. Is there a way to pass the actual error object to the error state's resolve function?
Metadata
Metadata
Assignees
Labels
No labels