func (e *Error) Error() string {
	segments := strings.Split(e.Type, "_")
	errType := strings.Join(segments, " ")
	return strings.Title(errType) + ": " + strings.Join(e.Err, " ")
}
// Error implements the error interface for formatted API errors.
Error implements the error interface for formatted API errors.
// Error implements the error interface for formatted API errors .
func (e *Error) Error() string {
	segments := strings.Split(e.Type, "_")
	errType := strings.Join(segments, " ")
	return strings.Title(errType) + ": " + strings.Join(e.Err, " ")
}
func ( e * Error ) Error ( ) string { segments := strings . Split ( e . Type , " " ) errType := strings . Join ( segments , " " ) return strings . Title ( errType ) + " " + strings . Join ( e . Err , " " ) }
Error implements the error interface for formatted API errors.
Error implements the error interface for formatted API errors .