Implement unknown error message
This commit is contained in:
parent
7e9a251ebe
commit
e485992e10
|
@ -213,6 +213,8 @@ func (e *Error) Error() string {
|
||||||
message = "ID illegal"
|
message = "ID illegal"
|
||||||
case ErrorCodeCommandUnexecuted:
|
case ErrorCodeCommandUnexecuted:
|
||||||
message = "Command unexecuted"
|
message = "Command unexecuted"
|
||||||
|
default:
|
||||||
|
message = "unknown"
|
||||||
}
|
}
|
||||||
|
|
||||||
return fmt.Sprintf("card responded with error: %s", message)
|
return fmt.Sprintf("card responded with error: %s", message)
|
||||||
|
|
Loading…
Reference in New Issue