Add error var

This commit is contained in:
Dustin Pianalto 2021-11-17 20:33:45 -09:00
parent 109f8f79e4
commit 3fdc109b1e

View File

@ -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"`