<commit_before>module INAB
  class API < Grape::API
    prefix :api
    format :json
    formatter :json, Grape::Formatter::Roar
    rescue_from Sequel::ValidationFailed

    helpers CrudHelpers

    mount ::INAB::Entities::Accounts
    mount ::INAB::Entities::CategoryGroups
    mount ::INAB::Entities::Categories
    mount ::INAB::Entities::BudgetItems
    mount ::INAB::Entities::Transactions
  end
end<commit_msg>Server properly transfers all Sequel exception<commit_after>module INAB
  class API < Grape::API
    prefix :api
    format :json
    formatter :json, Grape::Formatter::Roar
    rescue_from Sequel::Error

    helpers CrudHelpers

    mount ::INAB::Entities::Accounts
    mount ::INAB::Entities::CategoryGroups
    mount ::INAB::Entities::Categories
    mount ::INAB::Entities::BudgetItems
    mount ::INAB::Entities::Transactions
  end
end
{'fraction_non_alphanumeric': 0.10747663551401869, 'fraction_numerical': 0.0, 'mean_word_length': 4.564935064935065, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2801452', 'n_tokens_mistral': 261, 'n_tokens_neox': 261, 'n_words': 60}