# Functions
CastToAppError - приводит указанную ошибку к AppError или если это невозможно, то вызывает функцию по умолчанию, указанную в defFunc параметре, затем возвращает результат.
PrepareError - приводит указанную ошибку к AppError или если это невозможно, то оборачивает её в ErrInternal ошибку, затем возвращает результат.
# Constants
AnalyzedErrorTypeInternal - AppError with kind=ErrorKindInternal.
AnalyzedErrorTypeProtoInternal - ProtoAppError with kind=ErrorKindInternal.
AnalyzedErrorTypeProtoSystem - ProtoAppError with kind=ErrorKindSystem.
AnalyzedErrorTypeProtoUser - ProtoAppError with kind=ErrorKindUser.
AnalyzedErrorTypeSystem - AppError with kind=ErrorKindSystem.
AnalyzedErrorTypeUndefined - любая ошибка, которая не является ошибкой из списка ниже.
AnalyzedErrorTypeUser - AppError with kind=ErrorKindUser.
# Variables
ErrHttpAccessForbidden - 403.
ErrHttpClientUnauthorized - 401.
ErrHttpFileUpload - the file with the specified key was not uploaded.
ErrHttpMultipartFormFile - the file with the specified key cannot be processed.
ErrHttpRequestParamEmpty - request param with key is empty.
ErrHttpRequestParamLenMax - request param with key has value length greater than max characters.
ErrHttpRequestParamMax - request param with key contains value greater than max.
ErrHttpRequestParseData - 422.
ErrHttpRequestParseParam - request param with key of type contains incorrect value.
ErrHttpResourceNotFound - 404.
ErrHttpResponseParseData - response data is not valid.
ErrInternal - internal error, обобщённая внутренняя ошибка системы которая формирует стек вызовов и посылает событие о своём создании.
ErrInternalCaughtPanic - caught panic.
ErrInternalFailedToClose - failed to close object.
ErrInternalFailedToOpen - failed to open object.
ErrInternalInvalidType - invalid type, expected.
ErrInternalKeyNotFoundInSource - key is not found in source.
ErrInternalNilPointer - unexpected nil pointer.
ErrInternalProcessIsStoppedByTimeout - the process is stopped by timeout.
ErrInternalTypeAssertion - invalid type assertion.
ErrInternalUnexpectedEOF - unexpected EOF.
ErrInternalUnhandledDefaultCase - unhandled default case.
ErrInternalValueLenMax - value has length greater than max characters.
ErrInternalValueNotMatchRegexpPattern - specified value does not match regexp pattern.
ErrStorageConnectionFailed - connection is failed.
ErrStorageConnectionIsAlreadyCreated - connection is already created.
ErrStorageConnectionIsBusy - connection is busy.
ErrStorageConnectionIsNotOpened - connection is not opened.
ErrStorageFetchDataFailed - fetching data is failed.
ErrStorageNoRowFound - no row found.
ErrStorageQueryFailed - query is failed.
ErrStorageRowsNotAffected - rows not affected.
ErrSystem - system error, обобщённая системная ошибка, которая сообщает о сетевых проблемах, о работоспособности внешних ресурсов (БД, API, FileSystem).
ErrUnexpectedInternal - unexpected internal error, особая ошибка, в которую система заворачивает все ошибки отличные от типов AppError, ProtoAppError.
ErrUseCaseEntityNotAvailable - entity is not available.
ErrUseCaseEntityNotFound - entity not found.
ErrUseCaseEntityVersionInvalid - entity version is invalid.
ErrUseCaseIncorrectInputData - data is incorrect.
ErrUseCaseInvalidFile - file is invalid.
ErrUseCaseOperationFailed - operation failed.
ErrUseCaseSwitchStatusRejected - switching from status to status is rejected.
ErrUseCaseTemporarilyUnavailable - system is temporarily unavailable.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author