Skip to content

Commit

Permalink
Add EXIT_QUOTA_ISSUE
Browse files Browse the repository at this point in the history
  • Loading branch information
joelparkerhenderson committed Apr 4, 2023
1 parent 70b733f commit 4cb206b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ To use the kit in your own script in the same directory, you source the kit like
* Package: posix-shell-script-kit
* Version: 11.1.0
* Created: 2017-08-22T00:00:00Z
* Updated: 2023-03-28T14:01:52Z
* Updated: 2023-04-04T23:36:31Z
* Website: https://github.com/sixarm/posix-shell-script-kit
* License: GPL-2.0 or GPL-3.0 or contact us for more
* Contact: Joel Parker Henderson (joel@sixarm.com)
Expand Down
13 changes: 12 additions & 1 deletion doc/exit-codes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,18 @@ EXIT_PAYMENT_ISSUE=92

Something needs a credit card, or invoice, or billing, etc.

Akin to HTTP status code 402 Payment Required.
Akin to a superset of HTTP status code 402 Payment Required.


### Quota Issue

```sh
EXIT_QUOTA_ISSUE=93
```

A quota is reached, such as exhausting a free trial, out of fuel, etc.

Akin to a superset of HTTP status code 429 Too Many Requests.


## Exit codes 100+ for process runtime issues
Expand Down
13 changes: 11 additions & 2 deletions posix-shell-script-kit
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
# * Package: posix-shell-script-kit
# * Version: 11.1.0
# * Created: 2017-08-22T00:00:00Z
# * Updated: 2023-03-28T14:01:52Z
# * Updated: 2023-04-04T23:36:31Z
# * License: GPL-2.0 or GPL-3.0 or contact us for more
# * Website: https://github.com/sixarm/posix-shell-script-kit
# * Contact: Joel Parker Henderson (joel@sixarm.com)
Expand Down Expand Up @@ -288,16 +288,25 @@ EXIT_CONFLICT=90
# Something is prohibited due to law, or warrant, or court order, etc.
#
# Akin to HTTP status code 451 Unavailable For Legal Reasons (RFC 7725).
#
EXIT_UNLAWFUL=91

# Payment Issue
#
# Something needs a credit card, or invoice, or billing, etc.
#
# Akin to HTTP status code 402 Payment Required.
# Akin to a superset of HTTP status code 402 Payment Required.
#
EXIT_PAYMENT_ISSUE=92

# Quota Issue
#
# A quota is reached, such as exhausting a free trial, out of fuel, etc.
#
# Akin to a superset of HTTP status code 429 Too Many Requests.
#
EXIT_QUOTA_ISSUE=93

# Exit codes 100+ for process runtime issues...

# Busy
Expand Down

0 comments on commit 4cb206b

Please sign in to comment.