Rejection | UI-Router
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Rejection

Hierarchy

  • Rejection

Index

Constructors

  • new Rejection(type: any, message?: any, detail?: any): Rejection

Properties

detail: string
message: string
redirected: boolean
type: number

Methods

  • toPromise(): any
  • toString(): string
  • aborted(detail?: any): Rejection
  • Returns a TransitionRejection due to aborted transition

  • errored(detail?: any): Rejection
  • Returns a TransitionRejection due to aborted transition

  • ignored(detail?: any): Rejection
  • Returns a TransitionRejection due to ignored transition

  • invalid(detail?: any): Rejection
  • Returns a TransitionRejection due to invalid transition

  • isTransitionRejectionPromise(obj: any): boolean
  • Returns true if the obj is a rejected promise created from the asPromise factory

  • Returns true if the obj is a rejected promise created from the asPromise factory

    Parameters

    • obj: any

    Returns boolean


  • redirected(detail?: any): Rejection
  • Returns a TransitionRejection due to redirected transition

  • superseded(detail?: any, options?: any): Rejection
  • Returns a TransitionRejection due to transition superseded

Generated using TypeDoc