Commit 58a6c98c authored by Tomas's avatar Tomas
Browse files

Updated SessionError string representation to match the constants

parent 00e21d4f
...@@ -77,19 +77,19 @@ const ( ...@@ -77,19 +77,19 @@ const (
// Protocol errors // Protocol errors
const ( const (
// Protocol version not supported // Protocol version not supported
ErrorProtocolVersionNotSupported = ErrorCode("versionNotSupported") ErrorProtocolVersionNotSupported = ErrorCode("protocolVersionNotSupported")
// Error in HTTP communication // Error in HTTP communication
ErrorTransport = ErrorCode("httpError") ErrorTransport = ErrorCode("transport")
// Invalid client JWT in first IRMA message // Invalid client JWT in first IRMA message
ErrorInvalidJWT = ErrorCode("invalidJwt") ErrorInvalidJWT = ErrorCode("invalidJwt")
// Unkown session type (not disclosing, signing, or issuing) // Unkown session type (not disclosing, signing, or issuing)
ErrorUnknownAction = ErrorCode("unknownAction") ErrorUnknownAction = ErrorCode("unknownAction")
// Crypto error during calculation of our response (second IRMA message) // Crypto error during calculation of our response (second IRMA message)
ErrorCrypto = ErrorCode("cryptoResponseError") ErrorCrypto = ErrorCode("crypto")
// Server rejected our response (second IRMA message) // Server rejected our response (second IRMA message)
ErrorRejected = ErrorCode("rejectedByServer") ErrorRejected = ErrorCode("rejected")
// (De)serializing of a message failed // (De)serializing of a message failed
ErrorSerialization = ErrorCode("serializationError") ErrorSerialization = ErrorCode("serialization")
// Error in keyshare protocol // Error in keyshare protocol
ErrorKeyshare = ErrorCode("keyshare") ErrorKeyshare = ErrorCode("keyshare")
// Keyshare server has blocked us // Keyshare server has blocked us
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment