Skip to main content

Interface: ValidationContext

Defined in: src/services/utils/validation.ts:104

Propertiesโ€‹

diagnostics?โ€‹

readonly optional diagnostics?: UnknownRecord;

Defined in: src/services/utils/validation.ts:110

Optional diagnostics payload attached to error messages to aid troubleshooting. This object is JSON-stringified defensively; if serialization fails a placeholder token is used instead.


operationโ€‹

readonly operation: string;

Defined in: src/services/utils/validation.ts:116

Logical operation name used when constructing error messages.

Exampleโ€‹

DownloadSqliteBackup or "getMonitorTypes".

serviceNameโ€‹

readonly serviceName: string;

Defined in: src/services/utils/validation.ts:122

Service prefix injected into error messages.

Exampleโ€‹

DataService or "MonitorTypesService".