syntax = "proto2";

package maps_adv.geosmb.telegraphist.proto.errors;

message Error {
    enum ERROR_CODE {
        VALIDATION_ERROR = 1;
        RECIPIENT_DENIED = 2;
        UNSUPPORTED_TRANSPORT = 3;
        UNKNOWN_BIZ_ID = 4;
        NO_ORGS_FOR_BIZ_ID = 5;
        NO_ORG_INFO = 6;
        UNKNOWN_CLIENT = 7;
    }

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