Error typedef

Error = void Function(String errorMessage)

Implementation

typedef Error = void Function(String errorMessage);