ErrorValue Enumeration

Namespace:  TcHmiSrv
Assembly:  TcHmiSrvExtNet (in TcHmiSrvExtNet.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public enum ErrorValue

Members

Member name

Value

Description

HMI_SUCCESS

0

The command was executed successfully.

HMI_FINISHED

1

The operation has finished.

HMI_DISCONNECTED

2

The connection was closed.

HMI_SHUTDOWN

3

The server is shutting down.

HMI_RESTART

4

The server is restarting.

HMI_SKIP

5

The command was intentionally skipped.

HMI_FIRST_INIT

6

The extension is being initialized for the first time.

HMI_UPGRADE

7

The extension is being upgraded.

HMI_UNCHANGED

8

The data has not changed since the last request.

HMI_IGNORE

9

The command result should be ignored.

HMI_E_SERVER

256

A general server error occurred.

HMI_E_FAIL

257

The command failed with a generic error.

HMI_E_UNEXPECTED

258

An unexpected error occurred.

HMI_E_SCRIPT

259

A script error occurred because a server-side script failed.

HMI_E_REQUIRED_EXTENSION_MISSING

260

An required extension is not available.

HMI_E_INIT

261

Initialization failed.

HMI_E_NO_LANGUAGE_FILE

262

No language file was found for the requested locale.

HMI_E_SYNTAX

263

The request contains invalid syntax.

HMI_E_FILE_NOT_FOUND

264

The requested file was not found on the server.

HMI_E_FILESYSTEM

265

A filesystem error occurred (e.g. permission denied or disk full).

HMI_E_REQUEST_TOO_LARGE

266

The request exceeds the maximum allowed size.

HMI_E_DATABASE

267

A database operation failed.

HMI_E_INVALID_POINTER

268

An invalid pointer was encountered.

HMI_E_INVALID_PARAMETER

269

An invalid parameter was provided.

HMI_E_INVALID_TYPE

270

The type of a value does not match the expected type.

HMI_E_NOT_REGISTERED

271

The requested resource is not registered in the server.

HMI_E_NOT_IMPLEMENTED

272

The requested operation is not implemented.

HMI_E_ID_IN_USE

273

The specified ID is already in use.

HMI_E_SYMBOL_IN_USE

274

The specified symbol name is already in use by another extension.

HMI_E_INTERRUPTED

275

The operation was interrupted before it could complete.

HMI_E_FILE_LOCK

276

The file is locked and cannot be accessed.

HMI_E_FILE_IN_USE

277

The file is currently in use by another process or operation.

HMI_E_FILE_WRITE

278

Unable to write to the file.

HMI_E_INVALID_PATH

279

The specified path is invalid or contains illegal characters.

HMI_E_HANDLE

280

An invalid handle was used.

HMI_E_ENCODE

281

Unable to encode the message (e.g. serialization failure).

HMI_E_DECODE

282

Unable to decode the message (e.g. deserialization failure).

HMI_E_NETWORK

283

A network error occurred during communication.

HMI_E_LANGUAGE

284

The requested language is invalid or not supported.

HMI_E_CACHE

285

A cache error occurred.

HMI_E_ENDPOINT_DENIED

286

Access to the endpoint was denied because the client is not allowed to use this endpoint.

HMI_E_ENDPOINT_BUSY

287

The endpoint is busy and cannot process the request at this time.

HMI_E_ENDPOINT_INVALID

288

The specified endpoint is invalid.

HMI_E_WEBSERVER_UNEXPECTED

289

An unexpected error occurred in the web server component.

HMI_E_WEBSOCKET_UNEXPECTED

290

An unexpected error occurred in the WebSocket component.

HMI_E_LUA_EXEC

291

A Lua script could not be executed.

HMI_E_ENTRY_NOT_FOUND

292

The requested entry was not found.

HMI_E_INVALID_SYMBOL

293

The specified symbol is invalid or does not exist.

HMI_E_BLACKLISTED

294

The requested resource is blacklisted and cannot be accessed.

HMI_E_UPLOAD_TIMER_EXPIRED

295

The upload timer expired before the upload completed.

HMI_E_SERVER_ALREADY_RUNNING

296

Another instance of the server is already running.

HMI_E_PROTOCOL

297

A protocol error occurred because the request does not conform to the expected protocol.

HMI_E_PAGING

298

Invalid paging parameters were provided.

HMI_E_INVALID_SUBSYMBOL

512

The specified subsymbol path is invalid or does not exist.

HMI_E_SYMBOL_NOT_MAPPED

513

The symbol is not mapped to any extension.

HMI_E_SYMBOL_SCHEMA_MISSING

514

The JSON schema for the symbol is missing.

HMI_E_INVALID_METHOD

515

The specified method does not exist or is not available for this symbol.

HMI_E_API

768

Invalid API usage by an extension.

HMI_E_INTERFACE_VERSION

769

The extension was built against an incompatible interface version.

HMI_E_INTERFACE_POINTER

770

An invalid interface pointer was provided by an extension.

HMI_E_CRT_NOT_FOUND

771

The C runtime library (CRT) required by an extension was not found.

HMI_E_CRT_INIT

772

The C runtime library (CRT) initialization failed in an extension.

HMI_E_LICENSE

773

The license is invalid or missing.

HMI_E_LICENSE_CHECK

774

The license check failed.

HMI_E_LICENSE_ADS

775

The ADS license was not found.

HMI_E_LICENSE_SERVER

776

The server license is missing.

HMI_E_LICENSE_CLIENT

777

The client license is missing.

HMI_E_LICENSE_TARGET

778

The target license is missing

HMI_E_LICENSE_EXPIRED

779

The license has expired.

HMI_E_LICENSE_EXTENSION

780

The extension license is missing.

HMI_E_LICENSE_HANDSHAKE

781

The license handshake failed.

HMI_E_LICENSE_VERIFY

782

The license verification failed.

HMI_E_LICENSE_EMPTY

783

The license is empty.

HMI_E_STORAGE

1280

A general configuration error occurred.

HMI_E_STORAGE_WRITE

1281

Unable to write to the configuration storage.

HMI_E_STORAGE_VERSION

1282

The configuration version is invalid or incompatible.

HMI_E_STORAGE_CREATE

1283

Unable to create the configuration.

HMI_E_STORAGE_STORE

1284

Unable to store a value in the configuration.

HMI_E_STORAGE_LOAD

1285

Unable to load the configuration from storage.

HMI_E_STORAGE_FILE_NOT_FOUND

1286

The configuration file was not found.

HMI_E_STORAGE_ADD_PARAMETER

1287

Error while adding a parameter to the configuration.

HMI_E_STORAGE_SCHEMA

1288

The configuration schema is invalid.

HMI_E_STORAGE_CONSTRAINT

1289

A configuration constraint was violated (e.g. a uniqueness or value constraint).

HMI_E_STORAGE_ADD

1290

Unable to add a new configuration entry.

HMI_E_STORAGE_EXTENSION

1291

The storage extension is invalid or not available.

HMI_E_STORAGE_PARAMETER

1292

An invalid configuration parameter was provided.

HMI_E_STORAGE_TYPE

1293

The configuration value has an invalid type.

HMI_E_CONNECT

1294

Unable to establish a connection.

HMI_E_STORAGE_BACKUP

1295

Error while creating a configuration backup.

HMI_E_SCHEMA

1536

The JSON schema is invalid.

HMI_E_TYPE_MISMATCH

1537

The value type does not match the type defined in the schema.

HMI_E_RANGE_MISMATCH

1538

The value is outside the range defined in the schema (minimum/maximum).

HMI_E_INVALID_FIELD

1539

The field name is invalid according to the schema.

HMI_E_REQUIRED_FIELD

1540

A required field is missing from the data.

HMI_E_UNEXPECTED_FIELD

1541

The data contains a field that is not defined in the schema (additionalProperties).

HMI_E_ENUM_VALUE_MISMATCH

1542

The value does not match any of the allowed enum values.

HMI_E_ARRAY_RANGE_MISMATCH

1543

The array length is outside the allowed range (minItems/maxItems).

HMI_E_STRING_LENGTH_MISMATCH

1544

The string length is outside the allowed range (minLength/maxLength).

HMI_E_MULTIPLE_MATCHES

1545

Multiple schemas matched when only one was expected (oneOf).

HMI_E_NO_MATCHES

1546

No schema matched the data (oneOf/anyOf).

HMI_E_UNIQUE

1547

A uniqueness constraint was violated (uniqueItems).

HMI_E_FORMAT

1548

The value does not match the expected format (e.g. date-time, uri).

HMI_E_TYPE_MISSING

1549

The type definition is missing from the schema.

HMI_E_EXCLUDED

1550

The value matches a schema that it must not match (not).

HMI_E_MIGRATION

1551

A configuration migration failed.

HMI_E_MIGRATION_RULE

1552

A configuration migration rule is invalid.

HMI_E_MIGRATION_PATH

1553

The migration path is invalid.

HMI_E_RECURSION

1554

A recursion was detected (e.g. circular schema references).

HMI_E_REGEX

1555

The regular expression pattern is invalid.

HMI_E_EXTENSION

2048

An extension returned an error.

HMI_E_EXTENSION_LOAD

2049

Unable to load the extension.

HMI_E_INVALID_DOMAIN

2050

The specified extension domain is invalid.

HMI_E_DOMAIN_ACTIVE

2051

The extension domain is currently active and cannot be modified.

HMI_E_LOG_EXTENSION

2052

No logger extension was found.

HMI_E_AUTH_EXTENSION

2053

No authentication extension was found.

HMI_E_EXTENSION_CONFIG

2054

The extension configuration is invalid.

HMI_E_EXTENSION_HANDLER

2055

The extension handler is invalid.

HMI_E_UNLOAD_FAILED

2056

The extension could not be unloaded.

HMI_E_AUTH_WAIT

2057

Too many failed login attempts.

HMI_E_DOMAIN_DISABLED

2058

The extension domain is disabled and cannot process requests.

HMI_E_EXTENSION_CONNECT

2059

Unable to connect to the extension.

HMI_E_REMOTE_CONNECT

2060

Unable to connect to the remote system.

HMI_E_REMOTE_TIMEOUT

2061

The remote system did not respond within the expected time.

HMI_E_SESSION

4096

A general session error occurred.

HMI_E_INVALID_SESSION

4097

The session ID is invalid.

HMI_E_AUTH_USER_NOT_FOUND

4098

The specified user was not found.

HMI_E_AUTH_FAILED

4099

Authentication failed.

HMI_E_AUTH_GROUP_NOT_FOUND

4100

The specified user group was not found.

HMI_E_INSUFFICIENT_ACCESS

4101

The user does not have sufficient access rights for this operation.

HMI_E_CREATE_SESSION

4102

Unable to create a new session.

HMI_E_SESSION_NOT_FOUND

4103

The specified session was not found.

HMI_E_CERTIFICATE

4104

A certificate error occurred.

HMI_E_NO_LOGIN_DATA

4105

No login data was provided.

HMI_E_ALREADY_LOGGED_IN

4106

The user is already logged in with this session.

HMI_E_SESSION_TIMEOUT

4107

The session has timed out due to inactivity.

HMI_E_TOO_MANY_CONNECTIONS

4108

The maximum number of concurrent connections has been reached.

HMI_E_DECRYPT

4109

Unable to decrypt the data (e.g. encrypted login credentials).

HMI_E_AUTH_DISABLED

4110

Authentication is disabled in the server configuration.

HMI_E_CERTIFICATE_NOT_VALID

4111

The provided certificate is not valid (expired, revoked, or untrusted).

HMI_E_AUTH_INSUFFICIENT_LOGIN_INFORMATION

4112

The login request does not contain enough information to authenticate the user.

HMI_E_CHECKSUM

4608

A general checksum error occurred.

HMI_E_INVALID_CHECKSUM

4609

The checksum is invalid.

HMI_E_CHECKSUM_UNEXPECTED

4610

An unexpected checksum was found where none was expected.

HMI_E_CHECKSUM_MATCH

4611

The checksum does not match the expected value.

HMI_E_SIGNATURE

4612

A general signature error occurred.

HMI_E_SIGNATURE_MISSING

4613

The required signature is missing from the configuration file.

HMI_E_SIGNATURE_MISMATCH

4614

The signature does not match the data.

HMI_E_KEY_MISSING

4615

The security key required for signature verification is missing.

HMI_E_RESTART_REQUIRED

4616

A server restart is required for the configuration change to take effect.

HMI_E_INITIALIZE_PASSWORD

4617

The admin password has not been initialized.

Reference

TcHmiSrv Namespace