Collections of common business errors.
Project description
bizerror
Collections of common business errors.
Install
pip install bizerror
Defined Errors
-
BizError
-
OK
-
SysError
- UndefinedError
-
HttpError
- RequestExpired
- NotSupportedHttpMethod
-
ConfigError
- MissingConfigItem
-
DataError
- TargetNotFound
-
AuthError
- AccountLockedError
- AccountTemporaryLockedError
- UserPasswordError
- AppAuthFailed
- TsExpiredError
- AccountDisabledError
- AccountStatusError
- AccountRemovedError
-
TypeError
- CastToIntegerFailed
- CastToFloatFailed
- CastToNumbericFailed
- CastToBooleanFailed
- CastToStringFailed
- ParseJsonError
-
ParamError
- MissingParameter
- BadParameter
- BadParameterType
-
FormError
- CaptchaOnlyAllowedOnce
- CaptchaValidateFailed
-
LogicError
Release Notes
v0.1.0
- Add BizError base class.
- Add some common errors.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bizerror-0.1.0.tar.gz
(3.0 kB
view hashes)