Sha256: 6abfe6a49501b77e3c8148e2fb9b00d051c3a9642b6444c70e58ec7bdb285aee

Contents?: true

Size: 488 Bytes

Versions: 40

Compression:

Stored size: 488 Bytes

Contents

module RubyPitaya

  class StatusCodes
    # Success codes
    CODE_OK = 'RP-200'

    # Error codes
    CODE_ERROR = 'RP-201'
    CODE_UNKNOWN = 'RP-000'
    CODE_HANDLER_NOT_FOUND = 'RP-001'
    CODE_ACTION_NOT_FOUND = 'RP-002'
    CODE_NOT_AUTHENTICATED = 'RP-003'
    CODE_AUTHENTICATION_ERROR = 'RP-004'
    CODE_INTERNAL_ERROR = 'RP-005'

    # Error messages
    MESSAGE_INTERNAL_ERROR = 'Internal server error'

    class Connector
      CODE_UNKNOWN = 'PIT-000'
    end
  end
end

Version data entries

40 entries across 36 versions & 1 rubygems

Version Path
rubypitaya-3.19.6 ./lib/rubypitaya/core/status_codes.rb
rubypitaya-3.19.5 ./lib/rubypitaya/core/status_codes.rb
rubypitaya-3.19.4 ./lib/rubypitaya/core/status_codes.rb
rubypitaya-3.19.3 ./lib/rubypitaya/core/status_codes.rb
rubypitaya-3.19.2 ./lib/rubypitaya/core/status_codes.rb
rubypitaya-3.19.1 ./lib/rubypitaya/core/status_codes.rb
rubypitaya-3.19.0 ./lib/rubypitaya/core/status_codes.rb
rubypitaya-3.18.0 ./lib/rubypitaya/core/status_codes.rb
rubypitaya-3.17.2 ./lib/rubypitaya/core/status_codes.rb
rubypitaya-3.17.1 ./lib/rubypitaya/core/status_codes.rb
rubypitaya-3.17.0 ./lib/rubypitaya/core/status_codes.rb
rubypitaya-3.16.0 ./lib/rubypitaya/core/status_codes.rb
rubypitaya-3.15.3 ./lib/rubypitaya/core/status_codes.rb
rubypitaya-3.15.2 ./lib/rubypitaya/core/status_codes.rb
rubypitaya-3.15.1 ./lib/rubypitaya/core/status_codes.rb
rubypitaya-3.15.0 ./lib/rubypitaya/core/status_codes.rb
rubypitaya-3.14.0 ./lib/rubypitaya/core/status_codes.rb
rubypitaya-3.13.1 ./lib/rubypitaya/core/status_codes.rb
rubypitaya-3.13.0 ./lib/rubypitaya/core/status_codes.rb
rubypitaya-3.12.5 ./lib/rubypitaya/core/status_codes.rb