moby--moby/api/server/router
Brian Goff ebcb7d6b40 Remove string checking in API error handling
Use strongly typed errors to set HTTP status codes.
Error interfaces are defined in the api/errors package and errors
returned from controllers are checked against these interfaces.

Errors can be wraeped in a pkg/errors.Causer, as long as somewhere in the
line of causes one of the interfaces is implemented. The special error
interfaces take precedence over Causer, meaning if both Causer and one
of the new error interfaces are implemented, the Causer is not
traversed.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-08-15 16:01:11 -04:00
..
build Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
checkpoint Use function arguments for route setup. 2017-04-12 08:43:51 -04:00
container Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
debug Enable pprof/debug endpoints by default 2017-07-17 15:01:30 -04:00
distribution api: Only return a Platform when relevant information is available 2017-05-17 18:42:16 -07:00
image Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
network Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
plugin Make plugin emit strongly typed, consumable events 2017-07-06 14:26:06 -04:00
session Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
swarm Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
system Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
volume Honor context cancellation when pruning 2017-04-24 09:11:29 -07:00
experimental.go Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
local.go Use function arguments for route setup. 2017-04-12 08:43:51 -04:00
router.go Decouple the "container" router from the actual daemon implementation. 2016-02-08 11:30:57 -05:00