summaryrefslogtreecommitdiff
path: root/config/initializers/error_constants.rb
blob: bf2dad45e89b873b5f5fc0fadf89e2087a39e42f (plain)
1
2
3
4
5
6
7
8
require 'ruby-srp'

WRONG_PASSWORD = SRP::WrongPassword

# In case we use a different ORM at some point
VALIDATION_FAILED = CouchRest::Model::Errors::Validations
RECORD_NOT_FOUND  = CouchRest::Model::DocumentNotFound
RESOURCE_NOT_FOUDN = CouchRest::NotFound