Skip to main content

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


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 details)

Uploaded Source

File details

Details for the file bizerror-0.1.0.tar.gz.

File metadata

  • Download URL: bizerror-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.4

File hashes

Hashes for bizerror-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d41a844bec18c925ab754e914000a92a90aaefc844f636b988ef282101f59ff1
MD5 954faef088eb39500f7dc50517fba2d4
BLAKE2b-256 d21f074f174515cadc9615a19aad39c7b0c3698c3cacc33e39b534dedff895ad

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page