Appearance
zentao-api / ERRORS
const ERRORS: object
const
object
E_HTTP_ERROR
"HTTP request failed: {status} {statusText}"
'HTTP request failed: {status} {statusText}'
E_INSECURE_BROWSER
"The insecure option is only supported in Node.js runtimes."
'The insecure option is only supported in Node.js runtimes.'
E_INVALID_ACTION
"Unknown action: {module}-{action}"
'Unknown action: {module}-{action}'
E_INVALID_ACTION_DEFINITION
"Invalid module action definition."
'Invalid module action definition.'
E_INVALID_BASE_URL
"Invalid ZenTao baseUrl."
'Invalid ZenTao baseUrl.'
E_INVALID_MODULE
"Unknown module: {module}"
'Unknown module: {module}'
E_INVALID_MODULE_DEFINITION
"Invalid module definition."
'Invalid module definition.'
E_INVALID_PROFILE
"Invalid ZenTao profile."
'Invalid ZenTao profile.'
E_INVALID_REQUEST_NAME
'Request name must use the form "moduleName/methodName".'
E_LOGIN_FAILED
"ZenTao login failed."
'ZenTao login failed.'
E_MISSING_PARAM
"Missing required parameter: {param}"
'Missing required parameter: {param}'
E_NETWORK_ERROR
"Network request failed: {message}"
'Network request failed: {message}'
E_NO_GLOBAL_CLIENT
"No global client configured. Call ZentaoClient.init() or pass options.client."
'No global client configured. Call ZentaoClient.init() or pass options.client.'
E_NO_PROFILE
"No ZenTao profile is configured."
'No ZenTao profile is configured.'
E_PROFILE_NOT_FOUND
"ZenTao profile not found: {profileKey}"
'ZenTao profile not found: {profileKey}'
E_PROFILE_STORAGE_INVALID
"ZenTao profile storage is not valid JSON."
'ZenTao profile storage is not valid JSON.'
E_PROFILE_STORAGE_UNAVAILABLE
"ZenTao profile storage is unavailable in this runtime."
'ZenTao profile storage is unavailable in this runtime.'
E_TIMEOUT
"Request timed out."
'Request timed out.'