@tusss/ood
    Preparing search index...

    Class ErrorBase

    Hierarchy

    • Error
      • ErrorBase

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Parameters

      • code: string
      • message: string
      • Optionalopt: { cause?: string }

      Returns ErrorBase

    Properties

    cause?: string

    The customized cause of the error.

    code: string

    The user's defined error code. It can be varied depending on the application needs.

    message: string

    The error message

    name: string = "ErrorBase"
    stack: string

    The stack trace of the error.

    Methods

    • Converts the model instance into a plain data structure (struct).

      This method extracts the model's property data, removing functions, methods, or class-specific instance details, returning a clean structural representation.

      Returns ClassProperties<ErrorBase>

      A plain object structure containing the model's serializable properties.