fmvilas / swagger-node-codegen

An OpenAPI 3.x/Swagger 2 code generator for Node.js
Apache License 2.0
200 stars 55 forks source link

Added a custom error class & some logic to simplify error handling #44

Closed david-shepard closed 5 years ago

david-shepard commented 5 years ago

Added the error class ServerError to simplify error handling - should fix https://github.com/fmvilas/swagger-node-codegen/issues/43

fmvilas commented 5 years ago

Thanks, @davidshepard989! It's already on npm under version 1.5.0. Gracias!