File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
templates/flutter/lib/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -100,19 +100,19 @@ mixin RealtimeMixin {
100
100
}
101
101
});
102
102
} catch (e) {
103
- if (e is AppwriteException ) {
103
+ if (e is {{ spec . title | caseUcfirst }}Exception ) {
104
104
rethrow;
105
105
}
106
106
if (e is WebSocketChannelException) {
107
- throw AppwriteException (e.message);
107
+ throw {{ spec . title | caseUcfirst }}Exception (e.message);
108
108
}
109
- throw AppwriteException (e.toString());
109
+ throw {{ spec . title | caseUcfirst }}Exception (e.toString());
110
110
}
111
111
}
112
112
113
113
Uri _prepareUri() {
114
114
if (client.endPointRealtime == null) {
115
- throw AppwriteException (
115
+ throw {{ spec . title | caseUcfirst }}Exception (
116
116
"Please set endPointRealtime to connect to realtime server");
117
117
}
118
118
var uri = Uri.parse(client.endPointRealtime!);
You can’t perform that action at this time.
0 commit comments