ErrorWrap.matches

bool matches(Quark domain, int code) nothrow

Check whether @error has domain and code.

Parameters

domainError domain string quark
codeError code

Returns

true if error matches criteria, false otherwise