This commit is contained in:
Luiz Silva 2024-05-07 10:00:00 -03:00
parent b90cfe207e
commit f30428ce4d
65 changed files with 74 additions and 161 deletions

View file

@ -6,11 +6,9 @@ export const codigosErros = {
504: "Tempo de resposta excedido",
};
export class Resposta {
funcaoErroInterno;
detalhesErroInterno;
constructor(funcaoErroInterno, opcoes) {
this.funcaoErroInterno = funcaoErroInterno;
this.detalhesErroInterno = opcoes?.detalhesErroInterno || false;
this.detalhesErroInterno = (opcoes === null || opcoes === void 0 ? void 0 : opcoes.detalhesErroInterno) || false;
}
addResultado(resultado) {
return {
@ -73,4 +71,3 @@ export class Resposta {
export const respostaCM = new Resposta(() => {
//
});
//# sourceMappingURL=resposta.js.map