import {AnyErrorCode} from "../../generated/sync/error/AnyErrorCode" export const AnyErrorCode2StringFormat : { [key in AnyErrorCode] : string } = { "AFTER" : "%1$s cannot be after %3$s, received %2$s", "BEFORE" : "%1$s cannot be before %3$s, received %2$s", "DOES_NOT_CONTAIN" : "%1$s does not contain %3$s, received %2$s", "DOES_NOT_HAVE_KEY" : "%1$s must have the following keys %3$s, received %2$s", "DOES_NOT_MATCH" : "%1$s does not match %3$s, received %2$s", "ELEMENT_FAILED_PREDICATE" : "%1$s is invalid, received %2$s", "EQUAL" : "%1$s cannot be equal to %3$s, received %2$s", "EVEN" : "%1$s cannot be even, received %2$s", "GREATER_THAN" : "%1$s cannot be greater than %3$s, received %2$s", "GREATER_THAN_OR_EQUAL" : "cannot be greater than, or equal to %3$s, received %2$s", "HAS_KEY" : "%1$s must not have the following keys %3$s, received %2$s", "INVALID_BASE64" : "%1$s must be a valid base64-encoded string, received %2$s", "INVALID_JSON" : "%1$s must be a valid json string, received %2$s", "IS_ALL_WHITESPACE" : "%1$s cannot be all whitespace, received %2$s", "IS_DUPLICATE" : "%1$s is a duplicate, and duplicates are not allowed, received %2$s", "IS_EMPTY" : "%1$s must not be empty, received %2$s", "IS_NAN" : "%1$s cannot be NaN, received %2$s", "IS_NULL" : "%1$s cannot be null, received %2$s", "IS_ONE_OF" : "%1$s cannot be one of %3$s, received %2$s", "IS_UNDEFINED" : "%1$s cannot be undefined, received %2$s", "LESS_THAN" : "%1$s cannot be less than %3$s, received %2$s", "LESS_THAN_OR_EQUAL" : "%1$s cannot be less than, or equal to %3$s, received %2$s", "LONGER_THAN_MAX" : "%1$s cannot be longer than %3$s, received %2$s", "NEGATIVE" : "%1$s cannot be negative, received %2$s", "NOT_ARRAY" : "%1$s must be an array, received %2$s", "NOT_BASE64" : "%1$s must be a base64-encoded string, received %2$s", "NOT_BOOLEAN" : "%1$s must be a boolean, received %2$s", "NOT_DATE" : "%1$s must be a Date, received %2$s", "NOT_EMAIL" : "%1$s must be an email address, received %2$s", "NOT_FINITE" : "%1$s must be finite, received %2$s", "NOT_FUNCTION" : "%1$s must be a function, received %2$s", "NOT_INSTANCE_OF" : "%1$s must be an instance of %3$s, received %2$s", "NOT_INTEGER" : "%1$s must be an integer, received %2$s", "NOT_NULL" : "%1$s must be null, received %2$s", "NOT_NULL_OR_UNDEFINED" : "%1$s must be null or undefined, received %2$s", "NOT_NUMBER" : "%1$s must be a number, received %2$s", "NOT_OBJECT" : "%1$s must be an object, received %2$s", "NOT_ONE_OF" : "%1$s must be one of %3$s, received %2$s", "NOT_STRING" : "%1$s must be a string, received %2$s", "NOT_UNDEFINED" : "%1$s must be undefined, received %2$s", "NO_INDEX_OF_PROPERTY" : "%1$s must have a 'indexOf' property, received %2$s", "NO_LENGTH_PROPERTY" : "%1$s must have a 'length' property, received %2$s", "ODD" : "%1$s cannot be odd, received %2$s", "POSITIVE" : "%1$s cannot be positive, received %2$s", "SHORTER_THAN_MIN" : "%1$s cannot be shorter than %3$s, received %2$s", "ZERO" : "%1$s cannot be zero, received %2$s", };