Plumile JS API
    Preparing search index...

    Class HttpRedirect

    Error that signals an HTTP redirect from route logic.

    Hierarchy

    • Error
      • HttpRedirect
    Index

    Constructors

    Properties

    cause?: unknown
    message: string
    name: string
    redirectTo: string

    The URL to redirect to

    stack?: string
    statusCode: number

    HTTP status code for the redirect (301, 302, etc.)

    Methods

    • Indicates whether the argument provided is a built-in Error instance or not.

      Parameters

      • error: unknown

      Returns error is Error