class GraphQL::Context
- GraphQL::Context
- Reference
- Object
Defined in:
graphql/context.crInstance Method Summary
- #complexity : Int32
- #complexity=(complexity : Int32)
- #document : Language::Document | Nil
- #document=(document : Language::Document | Nil)
- #fragments : Array(Language::FragmentDefinition)
- #fragments=(fragments : Array(Language::FragmentDefinition))
-
#handle_exception(ex : ::Exception) : String | Nil
Return string message to be added to errors object or throw to bubble up
- #max_complexity : Int32 | Nil
- #max_complexity=(max_complexity : Int32 | Nil)
- #mutation_type : String | Nil
- #mutation_type=(mutation_type : String | Nil)
- #query_type : String
- #query_type=(query_type : String)
Instance Method Detail
def handle_exception(ex : ::Exception) : String | Nil
#
Return string message to be added to errors object or throw to bubble up