google / sxg-rs

A set of tools for generating signed exchanges at serve time.
Apache License 2.0
83 stars 20 forks source link

Use error type from Fastly crate #400

Closed antiphoton closed 1 year ago

antiphoton commented 1 year ago

Return fastly::Error rather than plain text messages, when an error is raised. After we return, the outside Fastly runtime creates an HTTP 500 response with the message in fastly::Error struct.