Unexpected constructor

const Unexpected(
  1. dynamic error
)

Implementation

const Unexpected(
  dynamic error,
) : super('Unknown Error', '500', error);