RouterFailure
fun RouterFailure( url: URL, routerOrigin: String, message: String, code: Int? = null, throwable: Throwable? = null, isRetryable: Boolean = false)
Content copied to clipboard
Parameters
url
original request URL
routerOrigin
router that failed to generate a route
message
message attached to the error code
code
if present, can be either be the HTTP code for offboard requests or an internal error code for onboard requests
throwable
provided if an unexpected exception occurred when creating the request or processing the response
isRetryable
Indicates if it makes sense to retry the failed route request for this type of failure.