/**
* A request about {{ a_words }} that the API refused. `code` is the API's `RespuestaError.codigo`:
* `{{ snake }}.no_encontrado`, `{{ snake }}.validacion.<field>_vacio`.
*/
export class {{ pascal }}Error extends Error {
readonly code: string;
constructor(code: string) {
super(code);
this.name = "{{ pascal }}Error";
this.code = code;
}
}