MaskErrors
Constructor:
Signature:
Parameters:
-
should_mask_error:
- Type
-
Callable[[GraphQLError], bool]
- Default
-
default_should_mask_error
-
error_message:
- Type
-
str
- Default
-
'Unexpected error.'
Methods:
-
anonymise_error
Signature:
Parameters:
-
error:
- Type
-
GraphQLError
-
-
on_operation
Signature:
Attributes:
-
should_mask_error:
- Type
-
Callable[[GraphQLError], bool]
-
error_message:
- Type
-
str