Skip to content

Commit

Permalink
fix: Add toString to FunctionException
Browse files Browse the repository at this point in the history
  • Loading branch information
dshukertjr committed Jul 23, 2024
1 parent 22cd12d commit c3a1ccf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/functions_client/lib/src/types.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// ignore_for_file: public_member_api_docs, sort_constructors_first
import 'dart:convert';
import 'dart:typed_data';

Expand Down Expand Up @@ -32,4 +33,8 @@ class FunctionException {
final String? reasonPhrase;

FunctionException({required this.status, this.details, this.reasonPhrase});

@override
String toString() =>
'FunctionException(status: $status, details: $details, reasonPhrase: $reasonPhrase)';
}

0 comments on commit c3a1ccf

Please sign in to comment.