Exception: Docker::API::ValidationError
- Inherits:
-
StandardError
- Object
- StandardError
- Docker::API::ValidationError
- Defined in:
- lib/docker/api/error.rb
Overview
This class represents a validation error.
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(permitted, unpermitted) ⇒ ValidationError
constructor
A new instance of ValidationError.
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 |