constructor(
message: string,
code: ModalSandboxErrorCode,
cause: Error
): ModalSandboxError| Name | Type | Description |
|---|---|---|
message* | string | Human-readable error description |
code* | ModalSandboxErrorCode | Structured error code for programmatic handling |
cause | Error | Original error that caused this error (for debugging) |
Creates a new ModalSandboxError.