Exception: Reivt::GraphQLDataException

Inherits:
IOError
  • Object
show all
Defined in:
lib/reivt/exception.rb

Overview

Custom errors for dealing with graphql in revit

Author:

  • bwrnrclse

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'Error in GraphQL API request!') ⇒ GraphQLDataException

Returns a new instance of GraphQLDataException.



23
24
25
26
27
# File 'lib/reivt/exception.rb', line 23

def initialize(msg = 'Error in GraphQL API request!')
  msg = "GraphQLDataException:\n" + msg + "\nVisit her for more info => " \
        'link.vaemoi.co/revitgqde'
  super(msg)
end