2021-09-13 13:17:53 +02:00

16 lines
255 B
Go

package main
import "fmt"
type keycardError struct {
message string
}
func (e *keycardError) Error() string {
return fmt.Sprintf("keycard-error: %s", e.message)
}
func newKeycardError(message string) *keycardError {
return &keycardError{message}
}