How to create a custom exception and handle it in dart How to create a custom exception and handle it in dart dart dart