Update error name

tags/v0.0.2 v0.0.2
Bas Kloosterman 2 years ago
parent 3a080d84a0
commit b9328ffd76
  1. 6
      okapi-errors.proto
  2. 2
      okapi-patient-registration.proto

@ -1,7 +1,7 @@
syntax = "proto3"; syntax = "proto3";
option go_package = "whiteboxsystems.nl/okapi"; option go_package = "whiteboxsystems.nl/okapi";
enum OkAPIErrorCode { enum OKAPIErrorCode {
None = 0; None = 0;
// Invalide configuratie voor de gekozen methode // Invalide configuratie voor de gekozen methode
InvalidXISAuthConfiguration = 1; InvalidXISAuthConfiguration = 1;
@ -23,7 +23,7 @@ enum OkAPIErrorCode {
InvalidPage = 9; InvalidPage = 9;
} }
message OkAPIError { message OKAPIError {
OkAPIErrorCode code = 1; OKAPIErrorCode code = 1;
string message = 2; string message = 2;
} }

@ -32,7 +32,7 @@ message PatientMeta {
message PatientRegistrationError { message PatientRegistrationError {
int32 index = 1; int32 index = 1;
OkAPIError error = 2; OKAPIError error = 2;
} }
// Probably do this steaming (also)? // Probably do this steaming (also)?

Loading…
Cancel
Save