func (b *BaseError) Error() string {
	return b.ErrorWithExtra("")
}
Error returns the string representation of the error.

See ErrorWithExtra for formatting.

Satisfies the error interface.
package apierr
import "fmt"
type BaseError struct {
	code string
	message string
	origErr error
}
func New(code, message string, origErr error) *BaseError {
	return &BaseError{
		code:    code,
		message: message,
		origErr: origErr,
	}
}