func (t *errtype) Inner() error {
	return t.inner
}
Stack returns the stack trace that led to the error.
package errors
import (
	"bytes"
	"encoding/json"
	"fmt"
	"path/filepath"
	"runtime"
	"strconv"
)
type Error interface {
	Message() string
	Inner() error
	Stack() Frames
	error
}
var (
	MarshalTrace = false
)
type errtype struct {
	message string
	inner   error
	stack   Frames
}
func (t *errtype) Message() string {
	return t.message
}
func (t *errtype) Stack() Frames {
	return t.stack
}