Implement configure
action, always send external error in parameters (#11)
This commit is contained in:
@@ -10,14 +10,29 @@ type Code int
|
||||
// Error codes that are sent to the browser extension and used as exit codes in the app.
|
||||
// DO NOT MODIFY THE VALUES, always append new error codes to the bottom.
|
||||
const (
|
||||
// CodeParseRequestLength error parsing request length
|
||||
// CodeParseRequestLength error parsing a request length
|
||||
CodeParseRequestLength Code = 10
|
||||
|
||||
// CodeParseRequest error parsing request
|
||||
// CodeParseRequest error parsing a request
|
||||
CodeParseRequest Code = 11
|
||||
|
||||
// CodeInvalidRequestAction error parsing request action
|
||||
// CodeInvalidRequestAction error parsing a request action
|
||||
CodeInvalidRequestAction = 12
|
||||
|
||||
// CodeInaccessiblePasswordStore error accessing a user-configured password store
|
||||
CodeInaccessiblePasswordStore = 13
|
||||
|
||||
// CodeInaccessibleDefaultPasswordStore error accessing the default password store
|
||||
CodeInaccessibleDefaultPasswordStore = 14
|
||||
|
||||
// CodeUnknownDefaultPasswordStoreLocation error determining the location of the default password store
|
||||
CodeUnknownDefaultPasswordStoreLocation = 15
|
||||
|
||||
// CodeUnreadablePasswordStoreDefaultSettings error reading the default settings of a user-configured password store
|
||||
CodeUnreadablePasswordStoreDefaultSettings = 16
|
||||
|
||||
// CodeUnreadableDefaultPasswordStoreDefaultSettings error reading the default settings of the default password store
|
||||
CodeUnreadableDefaultPasswordStoreDefaultSettings = 17
|
||||
)
|
||||
|
||||
// ExitWithCode exit with error code
|
||||
|
Reference in New Issue
Block a user