ao-js-sdk - v0.2.11
    Preparing search index...

    Function ServiceErrorHandler

    • Decorator that wraps service methods with error handling, converting any thrown errors into ServiceError instances

      Parameters

      • target: any

        The service class instance

      • propertyKey: string

        The method name

      • descriptor: PropertyDescriptor

        The method descriptor

      Returns PropertyDescriptor