Skip to content
New issue

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

Expose result info messages #1106

Merged

Commits on Oct 17, 2022

  1. cloudflare: update RequestError to expose Messages

    The messages field isn't really used broadly in the API as it was designed for
    informational feedback as opposed to errors, however, the page rules endpoint
    uses it to communicate validation failures. For these messages to be raised in
    other tools, namely the Terraform provider, it needs a dedicated field on the
    struct and to be included in the `Error()` method.
    
    Closes cloudflare/terraform-provider-cloudflare#1579
    jacobbednarz committed Oct 17, 2022
    Copy the full SHA
    8a60321 View commit details
    Browse the repository at this point in the history