All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ignotus.lang.en.exception.jsonc Maven / Gradle / Ivy

There is a newer version: 1.0.32
Show newest version
{
    "business": {
        "internal_server_error": {
            "title": "Internal server error",
            "detail": "Unexpected error occurred. Please try again later."
        },
        "authenticate_failed": {
            "title": "Authentication Failed",
            "detail": "You don't have permission to perform this action."
        },
        "unauthorized": {
            "title": "Unauthorized",
            "detail": "You are not authorized to perform this action. Please login to continue."
        },
        "model_not_found": {
            "title": "Model Not Found",
            "detail": "The requested resource was not found."
        },
        "page_invalid": {
            "title": "Pagination Configuration Error",
            // "detail": "Pagination arguments invalid. This is a server error."
            "detail_start_at_error": "Configuration ignotus.foundation.pagination.page-based.start-at must be 0 or 1. This might be an unexpected error.",
        },
        "page_number_invalid": {
            "title": "Page Number Invalid",
            // "detail": "Page Number Invalid"
            "detail_out_of_range": "Page number must be greater than or equal to .",
            "detail_fail_to_parse": "Page number can not parse to integer."
        },
        "page_offset_invalid": {
            "title": "Page Offset Invalid",
            // "detail": "Page Offset Invalid"
            "detail_out_of_range": "Page offset must be greater than or equal to 0.",
            "detail_fail_to_parse": "Page offset can not parse to integer."
        },
        "page_size_invalid": {
            "title": "Page Size Invalid",
            "detail": "Page Size Invalid",
            "detail_out_of_range": "Page size must be greater than or equal to  and less than or equal to .",
            "detail_fail_to_parse": "Page size can not parse to integer."
        },
        "request_body_is_not_json": {
            "title": "Request body is not JSON",
            "detail": "Request body is not JSON"
        },
        "validation_error": {
            "title": "Validation Error",
            "detail": "Validation error."
        },
        "validation_invalid_exception": {
            "title": "Validation Failed",
            "detail": "Validation failed",
            "detail_null_content": "Server tried to validate null content.",
            "detail_invalid_validation_rule": "Invalid validation rule for attribute '' found. Validations rules must be a string, a 2-tuple, an instance of validator, or a collection containing a serial element of the type mentioned above.",
            "validator_duplicated": "Validator '' duplicated. Please check your validator configuration.",
            "validator_validator_not_found": "Validator '' not found. Please check your validator configuration.",
        }
    },
    "relation": {
        "include_invalid": {
            "title": "Include Invalid",
            "detail": "Include provided in request invalid."
        },
        "sort_invalid": {
            "title": "Sort Invalid",
            "detail": "Sort provided in request invalid."
        },
        "relationship_invalid": {
            "title": "Relationship Invalid",
            "detail": "Relationship invalid. This is a server error.",
            "detail_invalid_related_collection": "The related object is a collection, but it doesn't contain BaseResponse. Type: , Relation: .",
            "detail_invalid_related_object": "The related object is not a BaseResponse or a set of BaseResponses. Type: , Relation: .",
            "detail_empty_relationship_name": "The relationship name is empty. Type: ",
            "detail_relationship_method_not_found": "Relationship not found, Please ensure :: exists. Type: , Relation: ."
        }
    },
    "serialize": {
        "serializer_exception": {
            "title": "Serializer Exception",
            "detail": "Serializer Exception.",
            "detail_api_result_unacceptable_type": "Api result is not a BaseResponse or a set of BaseResponses.",
            "detail_related_object_unacceptable_type": "The related object is not a BaseResponse or a set of BaseResponses."
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy