Collections of common business errors.
Project description
bizerror
Collections of common business errors.
Install
pip install bizerror
Installed command utils
- bizerror-generator
Shipped exception classes
- OK
- SysError
- UndefinedError
- DatabaseError
- CacheError
- MessageQueueError
- AnotherServiceError
- HttpError
- RequestExpired
- NotSupportedHttpMethod
- ConfigError
- MissingConfigItem
- DataError
- TargetNotFound
- AuthError
- AccountLockedError
- AccountTemporaryLockedError
- UserPasswordError
- AppAuthFailed
- TsExpiredError
- AccountDisabledError
- AccountStatusError
- AccountRemovedError
- LoginRequired
- AccessDenied
- TypeError
- CastToIntegerFailed
- CastToFloatFailed
- CastToNumbericFailed
- CastToBooleanFailed
- CastToStringFailed
- ParseJsonError
- NotSupportedTypeToCast
- ParamError
- MissingParameter
- BadParameter
- BadParameterType
- FormError
- CaptchaOnlyAllowedOnce
- CaptchaValidateFailed
- RepeatedlySubmitForm
- LogicError
Bug report
Please report any issues at https://github.com/zencore-cn/zencore-issues.
Release Notes
v0.3.1 2020-07-19
- Fix xlsxhelper dependencies problem.
v0.3.0 2020-07-19
- Add message parameters support.
- Add exception classes.
- Add class generator and tempalte maker.
v0.2.3 2019-12-08
- Add NotSupportedTypeToCast error.
v0.2.0 2019-11-07
- Fix get_error_message always use default language problem.
- Add BizError.MESSAGE classproperty.
V0.2.0 2019-11-07
- Add auto generate mechanism.
- Add language support.
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.3.1.tar.gz
(7.2 kB
view details)
File details
Details for the file bizerror-0.3.1.tar.gz
.
File metadata
- Download URL: bizerror-0.3.1.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8de7f8da2c4855325a7a7fbb18c6b08706ac74bcfb8bca047a2d4fa725f62142 |
|
MD5 | 0fe8209e8d663aaaf38d71b8bd79505a |
|
BLAKE2b-256 | fdf7fb101c6d1b0f1ecd846dde0e602a5ad2ed6c7775ec989f4e9a657d785c2a |