From c3a1ccf47b0ce53530d978cb2d77ebf051a38cad Mon Sep 17 00:00:00 2001 From: dshukertjr Date: Tue, 23 Jul 2024 17:26:08 +0900 Subject: [PATCH] fix: Add toString to FunctionException --- packages/functions_client/lib/src/types.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/functions_client/lib/src/types.dart b/packages/functions_client/lib/src/types.dart index 68d03208..1ee42033 100644 --- a/packages/functions_client/lib/src/types.dart +++ b/packages/functions_client/lib/src/types.dart @@ -1,3 +1,4 @@ +// ignore_for_file: public_member_api_docs, sort_constructors_first import 'dart:convert'; import 'dart:typed_data'; @@ -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)'; }