GraphQLError constructor
GraphQLError({
- String? message,
- String? error,
- UserFacingError? userFacingError,
Create a new instance of PrismaError
.
Implementation
GraphQLError({
this.message,
this.error,
this.userFacingError,
}) : assert(message != null || error != null,
'$GraphQLError: message or error is null');