We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Current error struct:
%Correios.CEP.Error{ reason: "CEP NAO ENCONTRADO" }
To be implemented:
%Correios.CEP.Error{ type: :postal_code_not_found, message: "Postal code not found", reason: "CEP NAO ENCONTRADO" }
Other know errors:
%Correios.CEP.Error{ type: :postal_code_required, message: "Postal code is required", reason: nil } %Correios.CEP.Error{ type: :postal_code_invalid, message: "Postal code is invalid", reason: nil }
Unexpected errors returned by Correios API:
%Correios.CEP.Error{ type: :unexpected_error, message: "Unexpected error", reason: "[Any error response returned by Correios API]" }
The text was updated successfully, but these errors were encountered:
Hey @prodis can I try to solve this one?
Sorry, something went wrong.
Yes, thanks. 🙂
I have added more details to the specification. Let me know if any doubts.
Just to let you know, I already start developing this fix, sorry for the lack of return.
lcezermf
Successfully merging a pull request may close this issue.
Current error struct:
To be implemented:
Other know errors:
Unexpected errors returned by Correios API:
The text was updated successfully, but these errors were encountered: