Skip to content

ErrorOption

Defined in: projects/ngx-signal-schema/src/lib/validators/error-options.ts:15

Represents an error option containing error details.

The ErrorOption type is designed to provide structured information about errors. It includes the kind of error as a string identifier and a message describing the error.

This type is intended for scenarios where detailed error reporting and categorization are required.

optional error?: object

Defined in: projects/ngx-signal-schema/src/lib/validators/error-options.ts:20

Optional object containing error details.

optional kind?: string

The kind of error as a string identifier.

optional message?: string

A message describing the error.