MaskErrors

Constructor:

Signature:

def __init__(
self,
should_mask_error: Callable[[GraphQLError], bool] = default_should_mask_error,
error_message: str = 'Unexpected error.',
) -> None:
...

Parameters:

  1. should_mask_error:

    Type
    Callable[[GraphQLError], bool]
    Default
    default_should_mask_error
  2. error_message:

    Type
    str
    Default
    'Unexpected error.'

Methods:

Attributes:

  1. should_mask_error:

    Type
    Callable[[GraphQLError], bool]
  2. error_message:

    Type
    str