copyWith abstract method

  1. @useResult
ServerpodSqlException copyWith({
  1. String? message,
  2. String? sql,
})

Returns a shallow copy of this ServerpodSqlException with some or all fields replaced by the given arguments.

Implementation

@_i1.useResult
ServerpodSqlException copyWith({
  String? message,
  String? sql,
});