Exception: Gitlab::GlRepository::ContainerClassMismatchError
- Inherits:
-
StandardError
- Object
- StandardError
- Gitlab::GlRepository::ContainerClassMismatchError
- Defined in:
- lib/gitlab/gl_repository/repo_type.rb
Instance Method Summary collapse
-
#initialize(container_class, repo_type) ⇒ ContainerClassMismatchError
constructor
A new instance of ContainerClassMismatchError.
- #message ⇒ Object
Constructor Details
#initialize(container_class, repo_type) ⇒ ContainerClassMismatchError
Returns a new instance of ContainerClassMismatchError.
6 7 8 9 |
# File 'lib/gitlab/gl_repository/repo_type.rb', line 6 def initialize(container_class, repo_type) @container_class = container_class @repo_type = repo_type end |
Instance Method Details
#message ⇒ Object
11 12 13 14 |
# File 'lib/gitlab/gl_repository/repo_type.rb', line 11 def "Expected container class to be #{@repo_type.container_class} for " \ "repo type #{@repo_type.name}, but found #{@container_class} instead." end |