func (b *BadParameterError) IsBadParameterError() bool {
	return true
}
IsBadParameterError indicates that this error is of BadParameterError type
package trace
import (
	"crypto/x509"
	"fmt"
	"io"
	"net"
	"net/url"
	"os"
)
func NotFound(message string, args ...interface{}) Error {
	return newTrace(&NotFoundError{
		Message: fmt.Sprintf(message, args...),
	}, 2)
}
type NotFoundError struct {
	Message string `json:"message"`
}
func (e *NotFoundError) IsNotFoundError() bool {
	return true
}
func (e *NotFoundError) Error() string {
	if e.Message != "" {
		return e.Message
	}
	return "object not found"
}
func (e *NotFoundError) OrigError() error {
	return e
}
func IsNotFound(err error) bool {
	err = Unwrap(err)
	_, ok := err.(interface {
		IsNotFoundError() bool
	})
	if !ok {
		return os.IsNotExist(err)
	}
	return true
}
func AlreadyExists(message string, args ...interface{}) Error {
	return newTrace(&AlreadyExistsError{
		Message: fmt.Sprintf(message, args...),
	}, 2)
}
type AlreadyExistsError struct {
	Message string `json:"message"`
}
func (n *AlreadyExistsError) Error() string {
	if n.Message != "" {
		return n.Message
	}
	return "object already exists"
}
func (AlreadyExistsError) IsAlreadyExistsError() bool {
	return true
}
func (e *AlreadyExistsError) OrigError() error {
	return e
}
func IsAlreadyExists(e error) bool {
	type ae interface {
		IsAlreadyExistsError() bool
	}
	_, ok := Unwrap(e).(ae)
	return ok
}
func BadParameter(message string, args ...interface{}) Error {
	return newTrace(&BadParameterError{
		Message: fmt.Sprintf(message, args...),
	}, 2)
}
type BadParameterError struct {
	Message string `json:"message"`
}
func (b *BadParameterError) Error() string {
	return b.Message
}
func (b *BadParameterError) OrigError() error {
	return b
}