with one click
add-error-code
How to add a new error code in BoringSSL.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
How to add a new error code in BoringSSL.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
How to add a new object with a NID and/or OID to BoringSSL.
How to add a new source file to the BoringSSL build.
How to build BoringSSL and run its tests.
How to run BoringSSL's ssl/test/runner suite (protocol-level BoGo tests)
How to regenerate/update pre-generated files (e.g., perlasm, build files) in BoringSSL.
| name | add-error-code |
| description | How to add a new error code in BoringSSL. |
To add a new error code, you only need to use it in the source code and then run the error generation script. The script will automatically define it in the header and update the error database.
Use the Error Code:
EVP_R_NEW_ERROR_CODE). It must start with the correct library prefix (e.g., EVP_R_, SSL_R_).Run the Error Generator:
evp, ssl).go run util/make_errors.go evp
#define to the appropriate header in include/openssl..errordata file in crypto/err.