Exception: Docker::API::ValidationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/docker/api/error.rb

Overview

This class represents a validation error.

Direct Known Subclasses

InvalidParameter, InvalidRequestBody

Instance Method Summary collapse

Constructor Details

#initialize(permitted, unpermitted) ⇒ ValidationError

Returns a new instance of ValidationError.



11
12
13
# File 'lib/docker/api/error.rb', line 11

def initialize permitted, unpermitted
  super("Unpermitted options found: #{unpermitted.to_s}. Permitted are #{permitted.to_s}")
end