Update error name

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

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

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

Loading…
Cancel
Save