PrismaRequestException constructor

const PrismaRequestException({
  1. required String message,
  2. Engine? engine,
  3. String? code,
})

Create a new instance of PrismaRequestException.

Implementation

const PrismaRequestException({
  /// A human-readable error message.
  required super.message,

  /// The underlying exception that caused this error.
  super.engine,

  /// A Prisma-specific error code.
  this.code,
});