Class: Gitlab::Graphql::Queries::FileNotFound

Inherits:
Object
  • Object
show all
Defined in:
lib/gitlab/graphql/queries.rb

Instance Method Summary collapse

Constructor Details

#initialize(file) ⇒ FileNotFound

Returns a new instance of FileNotFound.


30
31
32
# File 'lib/gitlab/graphql/queries.rb', line 30

def initialize(file)
  @file = file
end

Instance Method Details

#messageObject


34
35
36
# File 'lib/gitlab/graphql/queries.rb', line 34

def message
  "File not found: #{@file}"
end

#pathObject


38
39
40
# File 'lib/gitlab/graphql/queries.rb', line 38

def path
  []
end