Add error var

main
DustyP 4 years ago
parent 109f8f79e4
commit 3fdc109b1e

@ -5,6 +5,10 @@ import (
"fmt" "fmt"
) )
var (
_ error = (*Error)(nil)
)
type Error struct { type Error struct {
// The kind of error // The kind of error
Kind Kind `json:"kind"` Kind Kind `json:"kind"`

Loading…
Cancel
Save