# Functions
JSONError is https://pkg.go.dev/net/http#Error, but for JSON.
NewInternalProblem returns a StatusProblem with code 500.
NewStatusProblem is a helper to create a StatusProblem.
# Structs
StatusProblem is basically an error with an HTTP status code.
# Interfaces
ProblemDetailer should be implemented by any error that has should be encoded as a specific RFC 7807 problem detail.
# Type aliases
Handler is an HTTP handler implementing http.Handler.