func NewError(code int, msg string) *Error {
	return &Error{Code: code, Msg: msg}
}
NewError returns a new Error.
package rrd
import (
	"errors"
	"fmt"
	"strings"
)
var (
	ErrNilOption = errors.New("nil option")
)
type Error struct {
	Code int
	Msg  string
}