@shadmanZero/tenantos-api
    Preparing search index...

    Class TenantosErrorAbstract

    Base class for all TenantOS API errors

    This abstract class provides the foundation for all custom error types in the TenantOS API client. It ensures proper error inheritance, stack trace preservation, and consistent error handling across all error types.

    Features:

    • Proper prototype chain maintenance for instanceof checks
    • Stack trace preservation (V8 engines)
    • Error cause chaining support
    • Abstract name property for type identification

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • message: string
      • Optionalopts: { cause?: Error }

      Returns TenantosError

    Properties

    name: string