shouldIgnore property

bool get shouldIgnore

무시해도 되는 에러인지 확인

사용자 취소 등 에러 메시지를 표시하지 않아도 되는 경우.

if (failure.shouldIgnore) return;
showError(failure.message);

Implementation

bool get shouldIgnore => this is CancelledError;