MihaMarkic/vice-bridge-net

Bridge tries to cast EmptyResult to expected type when an error occurs

Closed this issue · 1 comments

Bridge tries to cast EmptyResult to expected type when an error occurs which results in an invalid cast.
VICE returns an EmptyResult when an error happens.

ViceCommand.Response will return Task<CommandResponse> instead of simply Task.
The former carries also ErrorCode regardless of TResponse type.