v0.4.0: error encoder enforces encoding errors
Breaking Change:
- it's not possible anymore for an errorEncoder of the APIGateway to return an error. This enforces handling of errors and mapping all errors to HTTP Status codes.
Addition:
- adds a new HSTS middleware for APIGateways.