Skip to main content

ERROR_CODES

FitFileViewer - API Documentation v29.4.0


FitFileViewer - API Documentation / utils/errors/errorHandling / ERROR_CODES

Variable: ERROR_CODES

const ERROR_CODES: { INVALID_INPUT: string; FILE_NOT_FOUND: string; PARSE_ERROR: string; NETWORK_ERROR: string; PERMISSION_DENIED: string; STATE_ERROR: string; VALIDATION_ERROR: string; UNKNOWN_ERROR: string; }

Defined in: utils/errors/errorHandling.js:38

Standard error codes for the application

Type Declaration​

INVALID_INPUT​

INVALID_INPUT: string = "INVALID_INPUT"

FILE_NOT_FOUND​

FILE_NOT_FOUND: string = "FILE_NOT_FOUND"

PARSE_ERROR​

PARSE_ERROR: string = "PARSE_ERROR"

NETWORK_ERROR​

NETWORK_ERROR: string = "NETWORK_ERROR"

PERMISSION_DENIED​

PERMISSION_DENIED: string = "PERMISSION_DENIED"

STATE_ERROR​

STATE_ERROR: string = "STATE_ERROR"

VALIDATION_ERROR​

VALIDATION_ERROR: string = "VALIDATION_ERROR"

UNKNOWN_ERROR​

UNKNOWN_ERROR: string = "UNKNOWN_ERROR"