encounteredExceptionOrError static method
[bool?] encounteredExceptionOrError(
- [[OperationException] exception, )
This function is used to check if any exceptions or error encountered.
The return type is boolean.
params:
exception: OperationException which occur when calling for graphql post requestshowSnackBar: Tell if the the place where this function is called wants a SnackBar on error
returns:
bool?: returns a bool whether or not their is error, can be null
Implementation
static bool? encounteredExceptionOrError(
OperationException exception, )
- talawa
- graphql_exception_resolver
- GraphqlExceptionResolver
- encounteredExceptionOrError static method