RouterFailure

class RouterFailure

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

type

failure type

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.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.

Properties

Link copied to clipboard
val isRetryable: Boolean
Link copied to clipboard
val message: String
Link copied to clipboard
val routerOrigin: String
Link copied to clipboard
val throwable: Throwable?
Link copied to clipboard
val type: String
Link copied to clipboard
val url: URL