smithy-lang / smithy

Smithy is a protocol-agnostic interface definition language and set of tools for generating clients, servers, and documentation for any programming language.
https://smithy.io
Apache License 2.0
1.7k stars 201 forks source link

Allow examples for service level errors #2307

Closed kstich closed 3 weeks ago

kstich commented 3 weeks ago

This commit enables validating error examples for operations with errors that are bound to services. All services the operation with said example are bound to must bind the error.

Fixes #2299


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.