func (a APIError) Errors() []APIError {
	return []APIError{a}
}
Errors satisfies the APIErrors interface
package errors
import (
	"fmt"
	"net/http"
	"strings"
)
type ErrorResponse struct {
	Errors []APIError `json:"errors"`
}
type APIErrors interface {
	Errors() []APIError
	FirstStatus() int
}
type APIError struct {
	Status  int    `json:"status"`
	Title   string `json:"title"`
	Details string `json:"details"`
}
var _ APIErrors = APIError{}
var _ error = APIError{}
func (a APIError) Error() string {
	return a.Title
}