ErrorWrap.matches

Check whether @error has domain and code.

class ErrorWrap
bool
matches

Parameters

domain Quark

Error domain string quark

code int

Error code

Return Value

Type: bool

true if error matches criteria, false otherwise