Add stub binding for ErrorDomain.