func NotFound(message string, args ...interface{}) Error {
	if message == "" {
		message = "Not found"
	}
	return New(http.StatusNotFound, fmt.Sprintf(message, args...))
}
NotFound creates a new not found error
package errors
import (
	"encoding/json"
	"fmt"
	"net/http"
	"strings"
)
type Error interface {
	error
	Code() int32
}
type apiError struct {
	code    int32
	message string
}
func (a *apiError) Error() string {
	return a.message
}
func (a *apiError) Code() int32 {
	return a.code
}
func New(code int32, message string, args ...interface{}) Error {
	if len(args) > 0 {
		return &apiError{code, fmt.Sprintf(message, args...)}
	}
	return &apiError{code, message}
}