Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IRMA
Github mirrors
irmago
Commits
58a6c98c
Commit
58a6c98c
authored
Oct 02, 2017
by
Tomas
Browse files
Updated SessionError string representation to match the constants
parent
00e21d4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
messages.go
View file @
58a6c98c
...
...
@@ -77,19 +77,19 @@ const (
// Protocol errors
const
(
// Protocol version not supported
ErrorProtocolVersionNotSupported
=
ErrorCode
(
"
v
ersionNotSupported"
)
ErrorProtocolVersionNotSupported
=
ErrorCode
(
"
protocolV
ersionNotSupported"
)
// Error in HTTP communication
ErrorTransport
=
ErrorCode
(
"
httpErr
or"
)
ErrorTransport
=
ErrorCode
(
"
transp
or
t
"
)
// Invalid client JWT in first IRMA message
ErrorInvalidJWT
=
ErrorCode
(
"invalidJwt"
)
// Unkown session type (not disclosing, signing, or issuing)
ErrorUnknownAction
=
ErrorCode
(
"unknownAction"
)
// Crypto error during calculation of our response (second IRMA message)
ErrorCrypto
=
ErrorCode
(
"crypto
ResponseError
"
)
ErrorCrypto
=
ErrorCode
(
"crypto"
)
// Server rejected our response (second IRMA message)
ErrorRejected
=
ErrorCode
(
"rejected
ByServer
"
)
ErrorRejected
=
ErrorCode
(
"rejected"
)
// (De)serializing of a message failed
ErrorSerialization
=
ErrorCode
(
"serialization
Error
"
)
ErrorSerialization
=
ErrorCode
(
"serialization"
)
// Error in keyshare protocol
ErrorKeyshare
=
ErrorCode
(
"keyshare"
)
// Keyshare server has blocked us
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment