Sha256: 1f52c764757dda0cf275d28354c92c62c84ebd747c4e95c885d77f3157de8ac6

Contents?: true

Size: 191 Bytes

Versions: 7

Compression:

Stored size: 191 Bytes

Contents

module RestApiClient
  class ModelErrorsException < StandardError

    attr_accessor :errors
    
    def initialize(errors)
      super 'Bad request'
      @errors = errors
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rest-api-client-0.1.7 lib/rest/api/exceptions/model_errors_exception.rb
rest-api-client-0.1.6 lib/rest/api/exceptions/model_errors_exception.rb
rest-api-client-0.1.5 lib/rest/api/exceptions/model_errors_exception.rb
rest-api-client-0.1.4 lib/rest/api/exceptions/model_errors_exception.rb
rest-api-client-0.1.3 lib/rest/api/exceptions/model_errors_exception.rb
rest-api-client-0.1.2 lib/rest/api/exceptions/model_errors_exception.rb
rest-api-client-0.1.1 lib/rest/api/exceptions/model_errors_exception.rb