Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mint-tsdocs.saulo.engineer/llms.txt

Use this file to discover all available pages before exploring further.

withErrorBoundary

Summary

Decorator for adding error boundary protection to methods.

Signature

export declare function withErrorBoundary<T extends (...args: any[]) => any>(context?: ErrorContext): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor;

Parameters

context

Type: ErrorContext Optional: Yes

Returns

Type: (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor Decorator for adding error boundary protection to methods.