GitHub

DaffExternalRouterTemporaryRedirectError

Error

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

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

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