Skip to content

Commit f3ea709

Browse files
Document how to generate new errors
1 parent 31ccd9a commit f3ea709

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ make build
7777
make local
7878
```
7979

80+
If you need an error code, you can generate that using e.g `shuf -i 0-9999 -n 1` and pad with zeroes.
81+
Error codes are chosen by random, uniform sampling on that interval. Pick any number, make sure its not a duplicate.
82+
8083
### Kafka & Protobuf
8184

8285
Whenever an Application is synchronized, a [deployment event message](https://github.com/navikt/protos/blob/master/deployment/deployment.proto)

0 commit comments

Comments
 (0)