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
6c565cad
Commit
6c565cad
authored
Feb 11, 2018
by
Sietse Ringers
Browse files
Remove unused keyshareBlocked error
parent
4baf49cb
Changes
2
Hide whitespace changes
Inline
Side-by-side
irmaclient/manual_session_test.go
View file @
6c565cad
...
@@ -94,7 +94,7 @@ func (sh *ManualSessionHandler) Failure(irmaAction irma.Action, err *irma.Sessio
...
@@ -94,7 +94,7 @@ func (sh *ManualSessionHandler) Failure(irmaAction irma.Action, err *irma.Sessio
}
}
}
}
func
(
sh
*
ManualSessionHandler
)
KeyshareBlocked
(
manager
irma
.
SchemeManagerIdentifier
,
duration
int
)
{
func
(
sh
*
ManualSessionHandler
)
KeyshareBlocked
(
manager
irma
.
SchemeManagerIdentifier
,
duration
int
)
{
sh
.
Failure
(
irma
.
ActionUnknown
,
&
irma
.
SessionError
{
Err
orType
:
irma
.
Error
KeyshareBlocked
})
sh
.
Failure
(
irma
.
ActionUnknown
,
&
irma
.
SessionError
{
Err
:
errors
.
New
(
"
KeyshareBlocked
"
)
})
}
}
func
(
sh
*
ManualSessionHandler
)
KeyshareRegistrationIncomplete
(
manager
irma
.
SchemeManagerIdentifier
)
{
func
(
sh
*
ManualSessionHandler
)
KeyshareRegistrationIncomplete
(
manager
irma
.
SchemeManagerIdentifier
)
{
sh
.
Failure
(
irma
.
ActionUnknown
,
&
irma
.
SessionError
{
Err
:
errors
.
New
(
"KeyshareRegistrationIncomplete"
)})
sh
.
Failure
(
irma
.
ActionUnknown
,
&
irma
.
SessionError
{
Err
:
errors
.
New
(
"KeyshareRegistrationIncomplete"
)})
...
...
messages.go
View file @
6c565cad
...
@@ -106,8 +106,6 @@ const (
...
@@ -106,8 +106,6 @@ const (
ErrorSerialization
=
ErrorType
(
"serialization"
)
ErrorSerialization
=
ErrorType
(
"serialization"
)
// Error in keyshare protocol
// Error in keyshare protocol
ErrorKeyshare
=
ErrorType
(
"keyshare"
)
ErrorKeyshare
=
ErrorType
(
"keyshare"
)
// Keyshare server has blocked us
ErrorKeyshareBlocked
=
ErrorType
(
"keyshareBlocked"
)
// API server error
// API server error
ErrorApi
=
ErrorType
(
"api"
)
ErrorApi
=
ErrorType
(
"api"
)
// Server returned unexpected or malformed response
// Server returned unexpected or malformed response
...
...
Write
Preview
Markdown
is supported
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