syntax = "proto2";

package maps_adv.manul.proto.errors;

message Error {
    enum ERROR_CODE {
        CLIENT_EXISTS = 1;
        CLIENT_NOT_FOUND = 2;
        ORDER_NOT_FOUND = 3;
        DATA_VALIDATION_ERROR = 1000;
    }

    required ERROR_CODE code = 1;
    optional string description = 2;
}
