Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@twilio/voice-errors
Advanced tools
All Twilio Voice errors are defined in twilio-voice-errors.json
. Other errors already defined by Twilio are defined in twilio-authorization-errors.json
and twilio-rest-errors.json
.
201xx
REST authorization errors instead of the range defined in Twilio Client as 312xx
.21218
is preferred over Twilio Client code 31001
for TwiML application not found.Ensure you have Node installed. Then, run the following:
git clone https://code.hq.twilio.com/client/twilio-voice-errors
cd twilio-voice-errors
npm install
This project can generate table and dictionary views of the Voice errors. Just run the following command in the root of the project:
npm run generate
This will produce dictionary.md
and table.md
, respectively.
If you'd like to preview dictionary.md
and table.md
on GitHub, you can
automatically generate and push these artifacts to a dedicated
preview
branch.
where you can see rendered versions of
dictionary.md
and tree.md
rendered. Just run the following command in the root of the project:
npm run preview
This project defines all Twilio Voice errors, so if you would like to add a new
error code, you must propose it and add it to this document, per
CONTRIBUTING.md
. Once added, you should cut a new minor
version of this document by updating the version number in package.json, eg
1.0.0
-> 1.1.0
.
Make sure this version update has been committed and pushed to the primary branch. Then, in order to publish to NPM, run:
npm publish
If you are using generic Twilio Errors that are not in twilio-voice-errors.json
, add them to twilio-rest-errors.json
or twilio-authorization-errors.json
so that code can be generated for them as well.
TODO: Implement code generation
FAQs
Voice Error Codes
We found that @twilio/voice-errors demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.