HTTP response codes for errors
rcrowley opened this issue · comments
Richard Crowley commented
type HTTPEquivError interface {
error
Status() int
}
Use errors like this to respond with something sensible at the HTTP layer. We're doing this internally at Betable and it's nice.