mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-29 10:26:29 +02:00
The existing implementation used a ErrorResponse method to propogate and create http error messages. Since we added functionality to troubleshoot, signout, and do other tasks following an http error it's useful to use Error struct in place of method arguments. This fixes #157 where a troubleshooting links were appearing on pages that it didn't make sense on (e.g. pages without valid sessions). |
||
---|---|---|
.. | ||
chain.go | ||
chain_test.go | ||
doc.go | ||
grpc.go | ||
middleware.go | ||
middleware_test.go |