PrismaClientUnknownRequestError class

Prisma Client throws a PrismaClientUnknownRequestError exception if the query engine returns an error related to a request that does not have an error code. See https://www.prisma.io/docs/reference/api-reference/error-reference#prismaclientunknownrequesterror

Implemented types
Annotations
  • @JsonSerializable(createFactory: true, createToJson: false)

Constructors

PrismaClientUnknownRequestError(String message, {required String clientVersion})
const
PrismaClientUnknownRequestError.fromJson(Map<String, dynamic> json)
factory

Properties

clientVersion String
Version of Prisma Client (for example, 2.19.0)
final
hashCode int
The hash code for this object.
no setterinherited
message String
Error message associated with error code.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited