Skip to main content

Interface: ValidationContext

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

Propertiesโ€‹

diagnostics?โ€‹

readonly optional diagnostics: Record<string, unknown>

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

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:44

Logical operation name used when constructing error messages.

Exampleโ€‹

DownloadSqliteBackup or "getMonitorTypes".

serviceNameโ€‹

readonly serviceName: string

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

Service prefix injected into error messages.

Exampleโ€‹

DataService or "MonitorTypesService".