diff --git a/commands/response.go b/commands/response.go index 80c2cbb..7dc35fc 100644 --- a/commands/response.go +++ b/commands/response.go @@ -213,6 +213,8 @@ func (e *Error) Error() string { message = "ID illegal" case ErrorCodeCommandUnexecuted: message = "Command unexecuted" + default: + message = "unknown" } return fmt.Sprintf("card responded with error: %s", message)