The error thrown when the Honeypot fails, meaning some automated bot filled the form and the request is probably spam.

Hierarchy

Constructors

  • Parameters

    • Optionalmessage: string

    Returns SpamError

  • Parameters

    • Optionalmessage: string
    • Optionaloptions: ErrorOptions

    Returns SpamError

Properties

cause?: unknown
message: string
name: "SpamError"
stack?: string
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void