GitHub

DaffExternalRouterPermanentRedirectError

Error

import { DaffExternalRouterPermanentRedirectError } from '@daffodil/external-router'

Signals that the resolved URL should permanently redirect to another location.

class DaffExternalRouterPermanentRedirectError extends DaffInheritableError implements DaffError {
  readonly code: string = '302_PERMANENT_REDIRECT'
  readonly redirectUrl: string
  __proto__: Error
  recoverable: boolean = false
  name: string
  message: string
  stack: string
}