private ErrorState ExtractErrors(ICommand command) { return(ErrorState.Custom(command.Data.ToString().Trim())); }