PrismaClientRustPanicError class

Prisma Client throws a PrismaClientRustPanicError exception if the underlying engine crashes and exits with a non-zero exit code. In this case, the Prisma Client or the whole Node process must be restarted. See https://www.prisma.io/docs/reference/api-reference/error-reference#prismaclientrustpanicerror

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

Constructors

PrismaClientRustPanicError(String message, {required String clientVersion})
const
PrismaClientRustPanicError.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.
inherited

Operators

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