Constructors

Properties

$id: number
detail: any
message: any
redirected: boolean
type: any

Methods

  • Returns a Rejection

    Normalizes a value as a Rejection. If the value is already a Rejection, returns it. Otherwise, wraps and returns the value as a Rejection (Rejection type: ERROR).

    Parameters

    • detail: any

    Returns any

    detail if it is already a Rejection, else returns an ERROR Rejection.