Skip to main content

constructor

Summary

Creates an instance of FileSystemError.

Signature

constructor(message: string, code?: ErrorCode, context?: ErrorContext);

Parameters

message

  • Type:string
The primary, human-readable error message.

code

The standardized error code.

context

Additional structured context about the error.