You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.2 KiB
39 lines
1.2 KiB
2 years ago
|
syntax = "proto3";
|
||
2 years ago
|
option go_package = "whiteboxsystems.nl/okapi";
|
||
2 years ago
|
|
||
2 years ago
|
enum OKAPIErrorCode {
|
||
2 years ago
|
None = 0;
|
||
|
// Invalide configuratie voor de gekozen methode
|
||
|
InvalidXISAuthConfiguration = 1;
|
||
|
// Onbekende reference meegegeven
|
||
|
UnkownReference = 2;
|
||
2 years ago
|
// Invalide autorisatietoken voor deze reference
|
||
1 year ago
|
InvalidAuthorizationToken = 3;
|
||
2 years ago
|
// Onbekende service
|
||
|
UnknownService = 4;
|
||
|
// Onbekende protocol
|
||
|
UnknownProtocol = 5;
|
||
|
// Invalide procotol configuratie voor het aangegeven protocol
|
||
|
InvalidProcotolConfig = 6;
|
||
|
// Authenticatie methode onbekend
|
||
|
UnknownAuthMethod = 7;
|
||
2 years ago
|
// Invalide authorisatie configuratie voor het aangegeven protocol
|
||
2 years ago
|
InvalidProcotolAuthConfig = 8;
|
||
2 years ago
|
// Er zijn niet genoeg events om deze pagina te bereiken
|
||
|
InvalidPage = 9;
|
||
1 year ago
|
// Er wordt geprobeerd een patient af te melden die niet is ingeschreven
|
||
|
AlreadyUnsubscribed = 10;
|
||
|
// De service is al actief
|
||
|
ServiceAlreadyActivated = 11;
|
||
|
// De service is niet actief
|
||
|
ServiceNotActive = 12;
|
||
|
// Een generieke error code die terug wordt gegeven met en omschrijving die
|
||
|
// meer informatie geeft over wat er fout is gegaan
|
||
|
GenericException = 999;
|
||
2 years ago
|
}
|
||
|
|
||
2 years ago
|
message OKAPIError {
|
||
|
OKAPIErrorCode code = 1;
|
||
2 years ago
|
string message = 2;
|
||
|
}
|