syntax = "proto2";

package maps_adv.geosmb.scenarist.proto.errors;

message Error {
    enum ERROR_CODE {
        VALIDATION_ERROR = 1;
        UNKNOWN_SUBSCRIPTION = 2;
        SUBSCRIPTION_ALREADY_EXISTS = 3;
        UNKNOWN_SCENARIO = 4;
        CURRENT_STATUS_DUPLICATE = 5;
        CURRENT_COUPON_DUPLICATE = 6;
    }

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