enum Meilisearch::Error::Type

Defined in:

meilisearch/error.cr

Enum Members

ApiKeyAlreadyExists = 0
ApiKeyNotFound = 1
BadRequest = 2
DatabaseSizeLimitReached = 3
DocumentFieldsLimitReached = 4
DocumentNotFound = 5
DumpProcessFailed = 6
ImmutableApiKeyActions = 7
ImmutableApiKeyCreatedAt = 8
ImmutableApiKeyExpiresAt = 9
ImmutableApiKeyIndexes = 10
ImmutableApiKey = 11
ImmutableApiKeyUid = 12
ImmutableApiKeyUpdatedAt = 13
ImmutableIndexUid = 14
ImmutableIndexUpdatedAt = 15
IndexAlreadyExists = 16
IndexCreationFailed = 17
IndexNotFound = 18
IndexPrimaryKeyAlreadyExists = 19
IndexPrimaryKeyMultipleCandidatesFound = 20
Internal = 21
InvalidApiKey = 22
InvalidApiKeyActions = 23
InvalidApiKeyDescription = 24
InvalidApiKeyExpiresAt = 25
InvalidApiKeyIndexes = 26
InvalidApiKeyLimit = 27
InvalidApiKeyName = 28
InvalidApiKeyOffset = 29
InvalidApiKeyUid = 30
InvalidContentType = 31
InvalidDocumentCsvDelimiter = 32
InvalidDocumentId = 33
InvalidDocumentFields = 34
InvalidDocumentLimit = 35
InvalidDocumentOffset = 36
InvalidDocumentGeoField = 37
InvalidIndexLimit = 38
InvalidIndexOffset = 39
InvalidIndexUid = 40
InvalidIndexPrimaryKey = 41
InvalidSearchAttributesToCrop = 42
InvalidSearchAttributesToHighlight = 43
InvalidSearchAttributesToRetrieve = 44
InvalidSearchCropLength = 45
InvalidSearchCropMarker = 46
InvalidSearchFacets = 47
InvalidSearchFilter = 48
InvalidSearchHighlightPostTag = 49
InvalidSearchHighlightPreTag = 50
InvalidSearchHitsPerPage = 51
InvalidSearchLimit = 52
InvalidSearchMatchingStrategy = 53
InvalidSearchOffset = 54
InvalidSearchPage = 55
InvalidSearchQ = 56
InvalidSearchShowMatchesPosition = 57
InvalidSearchSort = 58
InvalidSettingsDisplayedAttributes = 59
InvalidSettingsDistinctAttribute = 60
InvalidSettingsFaceting = 61
InvalidSettingsFilterableAttributes = 62
InvalidSettingsPagination = 63
InvalidSettingsRankingRules = 64
InvalidSettingsSearchableAttributes = 65
InvalidSettingsSortableAttributes = 66
InvalidSettingsStopWords = 67
InvalidSettingsSynonyms = 68
InvalidSettingsTypoTolerance = 69
InvalidState = 70
InvalidStoreFile = 71
InvalidSwapDuplicateIndexFound = 72
InvalidSwapIndexes = 73
InvalidTaskAfterEnqueuedAt = 74
InvalidTaskAfterFinishedAt = 75
InvalidTaskAfterStartedAt = 76
InvalidTaskBeforeEnqueuedAt = 77
InvalidTaskBeforeFinishedAt = 78
InvalidTaskBeforeStartedAt = 79
InvalidTaskCanceledBy = 80
InvalidTaskIndexUids = 81
InvalidTaskLimit = 82
InvalidTaskStatuses = 83
InvalidTaskTypes = 84
InvalidTaskUids = 85
IoError = 86
IndexPrimaryKeyNoCandidateFound = 87
MalformedPayload = 88
MissingApiKeyActions = 89
MissingApiKeyExpiresAt = 90
MissingApiKeyIndexes = 91
MissingAuthorizationHeader = 92
MissingContentType = 93
MissingDocumentId = 94
MissingIndexUid = 95
MissingMasterKey = 96
MissingPayload = 97
MissingSwapIndexes = 98
MissingTaskFilters = 99
NoSpaceLeftOnDevice = 100
NotFound = 101
PayloadTooLarge = 102
TaskNotFound = 103
TooManyOpenFiles = 104
UnretrievableDocument = 105

Instance Method Summary

Instance Method Detail

def api_key_already_exists? #

[View source]
def api_key_not_found? #

[View source]
def bad_request? #

[View source]
def database_size_limit_reached? #

[View source]
def document_fields_limit_reached? #

[View source]
def document_not_found? #

[View source]
def dump_process_failed? #

[View source]
def immutable_api_key? #

[View source]
def immutable_api_key_actions? #

[View source]
def immutable_api_key_created_at? #

[View source]
def immutable_api_key_expires_at? #

[View source]
def immutable_api_key_indexes? #

[View source]
def immutable_api_key_uid? #

[View source]
def immutable_api_key_updated_at? #

[View source]
def immutable_index_uid? #

[View source]
def immutable_index_updated_at? #

[View source]
def index_already_exists? #

[View source]
def index_creation_failed? #

[View source]
def index_not_found? #

[View source]
def index_primary_key_already_exists? #

[View source]
def index_primary_key_multiple_candidates_found? #

[View source]
def index_primary_key_no_candidate_found? #

[View source]
def internal? #

[View source]
def invalid_api_key? #

[View source]
def invalid_api_key_actions? #

[View source]
def invalid_api_key_description? #

[View source]
def invalid_api_key_expires_at? #

[View source]
def invalid_api_key_indexes? #

[View source]
def invalid_api_key_limit? #

[View source]
def invalid_api_key_name? #

[View source]
def invalid_api_key_offset? #

[View source]
def invalid_api_key_uid? #

[View source]
def invalid_content_type? #

[View source]
def invalid_document_csv_delimiter? #

[View source]
def invalid_document_fields? #

[View source]
def invalid_document_geo_field? #

[View source]
def invalid_document_id? #

[View source]
def invalid_document_limit? #

[View source]
def invalid_document_offset? #

[View source]
def invalid_index_limit? #

[View source]
def invalid_index_offset? #

[View source]
def invalid_index_primary_key? #

[View source]
def invalid_index_uid? #

[View source]
def invalid_search_attributes_to_crop? #

[View source]
def invalid_search_attributes_to_highlight? #

[View source]
def invalid_search_attributes_to_retrieve? #

[View source]
def invalid_search_crop_length? #

[View source]
def invalid_search_crop_marker? #

[View source]
def invalid_search_facets? #

[View source]
def invalid_search_filter? #

[View source]
def invalid_search_highlight_post_tag? #

[View source]
def invalid_search_highlight_pre_tag? #

[View source]
def invalid_search_hits_per_page? #

[View source]
def invalid_search_limit? #

[View source]
def invalid_search_matching_strategy? #

[View source]
def invalid_search_offset? #

[View source]
def invalid_search_page? #

[View source]
def invalid_search_q? #

[View source]
def invalid_search_show_matches_position? #

[View source]
def invalid_search_sort? #

[View source]
def invalid_settings_displayed_attributes? #

[View source]
def invalid_settings_distinct_attribute? #

[View source]
def invalid_settings_faceting? #

[View source]
def invalid_settings_filterable_attributes? #

[View source]
def invalid_settings_pagination? #

[View source]
def invalid_settings_ranking_rules? #

[View source]
def invalid_settings_searchable_attributes? #

[View source]
def invalid_settings_sortable_attributes? #

[View source]
def invalid_settings_stop_words? #

[View source]
def invalid_settings_synonyms? #

[View source]
def invalid_settings_typo_tolerance? #

[View source]
def invalid_state? #

[View source]
def invalid_store_file? #

[View source]
def invalid_swap_duplicate_index_found? #

[View source]
def invalid_swap_indexes? #

[View source]
def invalid_task_after_enqueued_at? #

[View source]
def invalid_task_after_finished_at? #

[View source]
def invalid_task_after_started_at? #

[View source]
def invalid_task_before_enqueued_at? #

[View source]
def invalid_task_before_finished_at? #

[View source]
def invalid_task_before_started_at? #

[View source]
def invalid_task_canceled_by? #

[View source]
def invalid_task_index_uids? #

[View source]
def invalid_task_limit? #

[View source]
def invalid_task_statuses? #

[View source]
def invalid_task_types? #

[View source]
def invalid_task_uids? #

[View source]
def io_error? #

[View source]
def malformed_payload? #

[View source]
def missing_api_key_actions? #

[View source]
def missing_api_key_expires_at? #

[View source]
def missing_api_key_indexes? #

[View source]
def missing_authorization_header? #

[View source]
def missing_content_type? #

[View source]
def missing_document_id? #

[View source]
def missing_index_uid? #

[View source]
def missing_master_key? #

[View source]
def missing_payload? #

[View source]
def missing_swap_indexes? #

[View source]
def missing_task_filters? #

[View source]
def no_space_left_on_device? #

[View source]
def not_found? #

[View source]
def payload_too_large? #

[View source]
def task_not_found? #

[View source]
def too_many_open_files? #

[View source]
def unretrievable_document? #

[View source]