open-nomad/api/internal/testutil
Charlie Voiselle fc313b7f8f
[api] Return a shapely error for unexpected response (#16743)
* Add UnexpectedResultError to nomad/api

This allows users to perform additional status-based behavior by rehydrating the error using `errors.As` inside of consumers.
2023-05-22 11:45:31 -04:00
..
discover
ports.go [api] Return a shapely error for unexpected response (#16743) 2023-05-22 11:45:31 -04:00
responsewriter.go
server.go [api] Return a shapely error for unexpected response (#16743) 2023-05-22 11:45:31 -04:00
slow.go