void error(dynamic message, {Error? error, Exception? ex}) { print(message); if (error != null) { print(error); } if (ex != null) { print(ex); } }