Router Failure
data class RouterFailure @JvmOverloads() constructor(url: URL, routerOrigin: RouterOrigin, message: String, code: Int?, throwable: Throwable?)
Content copied to clipboard
Describes a reason for a route request failure.
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
Constructors
RouterFailure
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
original request URL
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
component5
Link copied to clipboard
copy
Link copied to clipboard
fun copy(url: URL, routerOrigin: RouterOrigin, message: String, code: Int? = null, throwable: Throwable? = null): RouterFailure
Content copied to clipboard