Error |
The ErrorMessageStrings type exposes the following members.
| Name | Description | |
|---|---|---|
| ALREADY_HAS_WHERE | Expression already has a where clause | |
| APP_CLAIM_GEN_ERR | String like: Error modifying claims on application | |
| APP_DELETE_ERROR | General error deleting application {name} | |
| APP_UPDATE_ERROR | General error updating application {name} | |
| ARGUMENT_NULL | Argument was null | |
| ARGUMENT_RANGE | Argument was out of range | |
| AUTH_APP_CREATE | Error creating device credential {name} | |
| AUTH_APP_GENERAL | General error authenticating application | |
| AUTH_APP_INVALID | Invalid application id or secret | |
| AUTH_APP_LOCKED | Application is locked until {time} | |
| AUTH_CANCELLED | Authentication was cancelled | |
| AUTH_CERT_ALREADY_ASSIGNED | String like: The certificate {x5a} has already been associated with another identity | |
| AUTH_CERT_CREATE_GEN | String like: General error creating authentication certificate | |
| AUTH_CERT_GENERAL | String like: General error performing certificate authentication | |
| AUTH_CERT_NOT_BEFORE_AFTER | String like: Certificate time is not valid (check not before and not after data) | |
| AUTH_CERT_TFA_INVALID | String like: Two Factor Authentication is not supported with certificate authentication | |
| AUTH_DEV_CREATE | Error registering device {name} | |
| AUTH_DEV_GENERAL | General error authenticating device | |
| AUTH_DEV_INVALID | Invalid device identifier or secret | |
| AUTH_DEV_LOCAL_ONLY_SUPPORTED | Only local devices can be authenticated with this provider | |
| AUTH_DEV_LOCKED | Device account locked until {time} | |
| AUTH_NO_CERT_MAP | String like: This identity or certificate is not mapped for authentication between {identity} and {thumbprint} | |
| AUTH_USR_GENERAL | General error authenticating user | |
| AUTH_USR_INVALID | Invalid username or password | |
| AUTH_USR_LOCKED | User account is locked until {time} | |
| AUTH_USR_REAUTH_NOT_ALLOWED | Reauthorization of this principal is not permitted | |
| AUTH_USR_TFA_REQ | User requires MFA authentication | |
| BACKUP_GEN_ERR | String like: General error working with backup system | |
| BACKUP_POLICY_REQUIRES_ENCRYPTION | String like: Configured backup policy requires backups to have encryption | |
| BACKUP_RESTORE_ERR | String like: Error restoring backup information | |
| BI_QUERY_ERR | String like: Error executing BI metadata query | |
| BI_READ_ERR | String like: Error executing BI read for {id} | |
| BI_STORE_ERR | String like: Error executing BI store for {id} | |
| CDSS_LIBRARY_MANAGE_ERROR | String like: General error persisting CDSS library | |
| CONNECTION_REQUIRED | String like: This operation requires an active connection to the central server | |
| DATA_CIRCULAR_DEPENDENCY | Circular dependency | |
| DATA_DELETE_MODE_SUPPORT | Delete mode / method {mode} is not supported | |
| DATA_DEPENDENT_ENSURE_ERROR | String like: Error ensuring dependent value {data} exists | |
| DATA_GENERAL | Unspecified database error | |
| DATA_KEY_PROPERTY_DISAGREEMENT | The key on key property {keyProperty} does not match the data on data property {dataProperty} | |
| DATAMART_CREATE_ERROR | String like: Error while creating data mart {id} | |
| DATAMART_DROP_ERROR | String like: Error while dropping data mart {id} | |
| DATAMART_MANAGE_ERROR | String like: General error in datamart manager | |
| DATAMART_REFRESH_ERROR | String like: Error while refreshing data mart {id} | |
| DATAQUALITY_CONFIG_READ_ERROR | String like: General error reading data quality configuration | |
| DATAQUALITY_CONFIG_WRITE_ERROR | String like: General error writing data quality configuration | |
| DEV_CLAIM_GEN_ERR | String like: Error modifying claims on device | |
| DEV_DELETE_ERROR | General error deleting device | |
| ELEVATED_SESSION_NO_EXTENSION | Elevated sessions cannot be extended | |
| EXTENSION_INVALID_TYPE | String like: The extension type {extensionType} is invalid for the extension {extension} | |
| FETCH_APPLICATION | The application {name} doesn't exist | |
| FETCH_APPLICATION_KEY | The application {key} doesn't exist | |
| FETCH_DEVICE_KEY | The device {key} doesn't exist | |
| FOREIGN_DATA_FLD_ERR | String like: Could not process foreign data field {field} at {row} due to {ex} | |
| FOREIGN_DATA_GEN_ERR | String like: General error applying the mapping at {row} because of {ex} | |
| FOREIGN_DATA_INVALID_STATE | String like: The staged foreign data is not in a valid state to perform this operation | |
| FOREIGN_DATA_MANAGE_ERROR | String like: General error in foreign data stage manager | |
| FOREIGN_DATA_MAP_ERROR | String like: Error applying transform at row {row} | |
| FOREIGN_DATA_MAP_NOT_FOUND | String like: The foreign data map {map} which is referenced on this foreign data cannot be found | |
| FOREIGN_DATA_MAP_REQUIRED_MISSING | String like: The field {field} at row {row} is null or missing a value whenone is required | |
| FOREIGN_DATA_TARGET_MISSING | String like: {field} with value {value} could not be translated - check for missing mapping data (at row {row}) | |
| FOREIGN_DATA_TRANSFORM_ERROR | String like: Error applying {name} to value | |
| FOREIGN_DATA_TRANSFORM_MISSING | String like: {field} with value {value} could not be translated - check for missing mapping data (at row {row}) | |
| FOREIGN_DATA_TRANSFORM_MISSING_TARGET | String like: Could not apply the map becuase the map is missing a target | |
| FOREIGN_DATA_UNSUPPORTED_FORMAT | String like: The foreign data format {format} cannot be interpreted by this instance of SanteDB | |
| FOREIGN_MAP_NOT_FOUND | String like: The foreign data map for {subsetName} could not be found | |
| INVALID_EXPRESSION_TYPE | Invalid expression type provided. Expected {expected} but got {actual} | |
| INVALID_STATE | Object is not in a state which permits this operation | |
| JOB_SCHEDULE_ASSIGN | String like: Error while assigning job schedule for {job} | |
| JOB_SCHEDULE_QUERY | String like: Error while querying job schedules | |
| JOB_STATE_QUERY | String like: Error while querying job state | |
| JOB_STATE_SET | String like: Error while assigning job state | |
| MATCH_CONFIG_ERR | String like: Error storing match configuration {id} | |
| MISSING_ARGUMENT | Required argument missing | |
| MISSING_SERVICE | Service is missing | |
| NON_IDENTITY_UPDATE | Attempt was made to update an object without an identifier | |
| NOT_FOUND | {type} with ID {id} was not found | |
| NOT_PERMITTED | Operation is not permitted | |
| OBSOLETE_FUNCTION | The function {name} is obsolete - please consult the latest developer documentation | |
| RELATED_OBJECT_NOT_FOUND | Related object not found | |
| ROL_ASSOC | Error assigning roles {role} to/from {user} | |
| ROL_CREATE_GEN | General error creating role | |
| ROL_QUERY | Error querying for roles | |
| SEC_POL_ASSIGN | General error assigning policy to {object} | |
| SEC_POL_GEN | General error interacting with policy layer | |
| SEC_POL_NOT_SUPPORTED | Policies cannot be assigned with this object type | |
| SEC_PROVENANCE_GEN_ERR | General error establishing provenance data | |
| SEC_PROVENANCE_UNK_ID | Cannot establish provenance with an unknown identity | |
| SEC_ROL_ASSIGN | General error assigning role {role} to {user} | |
| SEC_ROL_GEN | General error creating a role | |
| SEQUENCE_MORE_THAN_ONE | Sequence has more than one element | |
| SEQUENCE_NO_ELEMENTS | Sequence contains no elements | |
| SESSION_ABANDON | Session was abandoned | |
| SESSION_ASSIGNED_FACILITY_MISMATCH | String like: The user's assigned facilities {assigned} do not match the configured facility {allowed} | |
| SESSION_ASSIGNED_FACILITY_MISSING | String like: This service requires you to be assigned to a registered facility, however it appears you are not. Please contact your administrator to have them assign them to an active facility | |
| SESSION_AUDIENCE_CHANGED | String Like: Session audience has changed on refresh - not permitted! | |
| SESSION_EXPIRE | Session is expired | |
| SESSION_GEN_ERR | General error establishing session | |
| SESSION_IDENTITY_INVALID | Session identity is invalid | |
| SESSION_IDENTITY_LOCKED | Session identity is locked | |
| SESSION_MISSING_IDENTITY_DATA | Session is missing identity data | |
| SESSION_NO_APPLICATION_ID | Session has no application security information | |
| SESSION_NOT_AUTH_PRINCIPAL | Session creation attempted on an unauthenticated principal | |
| SESSION_NOT_CLAIMS_PRINCIPAL | Session requires a claims principal to proceed | |
| SESSION_NOT_VALID | Session token is not yet valid | |
| SESSION_OVERRIDE_WITH_INSUFFICIENT_DATA | Attempted override without sufficient data | |
| SESSION_REFRESH_EXPIRE | Session refresh token is expired | |
| SESSION_REQUIRE_FACILITY | String like: To establish a session on this device, a facility must be selected | |
| SESSION_TAMPER | Session token has been tampered | |
| SESSION_TOKEN_INVALID | Session token is not valid (time constraint) | |
| SET_LOCKOUT | General error setting the lockout | |
| SIG_CERT_ALREADY_ASSIGNED | String like: Signing certificate is already assigned to another device | |
| SIG_CERT_CREATE_GEN | String like: Error assigning signing certificate {subject} to {identity} | |
| SIG_CERT_GENERAL | String like: General error querying signing certificates | |
| SIG_CERT_REMOVE_GEN | String like: Error removing signing certificate {subject} from {identity} | |
| SIGNATURE_INVALID | String like: The specified data has failed digital signature validation | |
| SYNC_PULL_PROBLEM | String like: There was a problem pulling data from the remote server - {error} | |
| TIMEOUT | Timeout ocurred during {operation} | |
| TODO | The function is not implemented yet | |
| UPDATE_SECRET | Error setting the secret for a device or application | |
| UPSTREAM_AUTH_ERR | String like: Error authenticating the device against the upstream | |
| UPSTREAM_CANNOT_JOIN_YOURSELF | String like: The upstream cannot be the same as the client | |
| UPSTREAM_CLAIMS_READONLY | String like: Claims from an upstream identity cannot be modified. | |
| UPSTREAM_GEN_ERR | String like: General error interacting with upstream | |
| UPSTREAM_JOIN_CANNOT_GENERATE_CERTIFICATE | String like: Upstream requires certificate authentication but this device cannot generate certificates | |
| UPSTREAM_JOIN_CERTIFICATE_HOLD | String like: Upstream approval of certificate request from this device has been witheld with status {status} (CA response: {message}) | |
| UPSTREAM_JOIN_DEVICE_DUPLICATE | String like: Device {device} has already been registered | |
| UPSTREAM_JOIN_ERR | String like: Error joining upstream domain | |
| UPSTREAM_PATCH_ERR | String like: Error applying patch on server. Patch was {patch} | |
| UPSTREAM_READ_ERR | String like: Error reading {data} from upstream | |
| UPSTREAM_VERSION_MISMATCH | String like: Remote server version is incompatible with this interface (remote: {remote}) | |
| UPSTREAM_WRITE_ERR | String like: Error sending {data} to upstream | |
| USER_CLAIM_GEN_ERR | General error reading or setting claim | |
| USR_CHL_DUP_RSP | String like Challenge response cannot be the same as previous | |
| USR_CHL_GEN_ERR | General error with security challenge | |
| USR_CREATE_GEN | Error creating user | |
| USR_DEL_ERR | Error deleting user | |
| USR_GEN_ERR | General error updating user | |
| USR_INVALID | Invalid user | |
| USR_PWD_COMPLEXITY | Password does not meet complexity | |
| USR_PWD_GEN_ERR | General error setting password | |
| USR_PWD_HISTORY | Password history violation |
It is recommended that these strings be used in conjuction with ILocalizationService. This allows implementers of SanteDB software to customize the error messages thrown from the server via applets.
You should use the ILocalization method when:
If the class is merely throwing internal, or developer exceptions or if it is a standalone class you should use the ErrorMessages constants