Table of Contents

Enum HttpEnum.ErrorMessage

Namespace
adas_core.Domain.Enums
Assembly
adas-core.Domain.dll

Enumeration for HTTP error code messages.

public enum HttpEnum.ErrorMessage
Extension Methods

Fields

BadRequestDuplicateData = 4003

The submitted data contains duplicate values that are not allowed.

BadRequestIncorrectEmailOrUsername = 4008

Invalid username or email.

BadRequestIncorrectLength = 4007

Incorrect length.

BadRequestIncorrectPassword = 4225

The current password is incorrect, or the new password does not meet the required format. Please check and try again.

BadRequestIncorrectType = 4006

Incorrect type.

BadRequestInvalidEmail = 4005

Email already exists.

BadRequestInvalidFormat = 4002

The format of the provided data is invalid.

BadRequestInvalidUsername = 4004

Username already exists.

BadRequestMissingParameters = 4001

Required parameters are missing from the request.

ConflictCreationFailed = 4096

The creation could not be completed.

ConflictDeleteFailed = 4092

The deletion could not be completed.

ConflictInvalidResourceState = 4095

The current state of the resource prevents this operation.

ConflictOperationIncompleted = 4097

Operation could not be completed.

ConflictResourceAlreadyExists = 4094

The resource already exists and cannot be duplicated.

ConflictResourceInUse = 4093

The deletion could not be completed because the resource is in use.

ConflictUpdateFailed = 4091

The update could not be completed.

ForbiddenNoAccess = 4031

User does not have access to this resource.

ForbiddenNoPermission = 4032

User does not have permission to perform this operation.

ForbiddenRestrictedAccess = 4033

Access is restricted due to security configurations.

ForbiddenUserBlocked = 4034

User is blocked or disabled.

InternalServerErrorExternalServiceError = 5003

Error communicating with an external service.

InternalServerErrorInternalFailure = 5002

The service could not complete the operation due to an internal failure.

InternalServerErrorUnexpected = 5001

An unexpected error occurred while processing the request.

NotFoundNoMatches = 4042

No items matching the search criteria were found.

NotFoundResourceMissing = 4041

The requested resource does not exist.

OkResouceNotModified = 2001

The update could not be completed because the resource has not been modified.

ServiceUnavailableCensusInAutomaticMode = 5034

Action is temporarily unavailable.

ServiceUnavailableDataServiceUnavailable = 5033

The data service is temporarily unavailable.

ServiceUnavailableHighLoad = 5032

The system is experiencing high load. Please try again later.

ServiceUnavailableUnderMaintenance = 5031

The service is under maintenance. Please try again later.

UnauthorizedInvalidCredentials = 4015

Invalid user credentials.

UnauthorizedInvalidToken = 4013

The authentication token is invalid or has been revoked.

UnauthorizedNoPermission = 4012

The user does not have permission to perform this action.

UnauthorizedTokenExpired = 4011

The access token has expired.

UnauthorizedUserNotRegistered = 4014

User not registered.

UnprocessableEntityCannotProcess = 4222

The resource cannot be processed.

UnprocessableEntityInvalidFields = 4221

One or more fields do not meet the required validations.

UnprocessableEntityInvalidPassword = 4224

The password is not strong enough.

UnprocessableEntityOutOfRange = 4223

The provided value is outside the allowed range.