Run ❯
Get your
own
website
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
class InsufficientFundsException implements Exception { final String message; InsufficientFundsException(this.message); @override String toString() => 'InsufficientFundsException: $message'; } void main() { try { throw InsufficientFundsException('Not enough money in the account'); } catch (e) { print(e); } }
InsufficientFundsException: Not enough money in the account