Error Domains
High-level error domains.
Overview
To determine the source of an error, examine the userInfo dictionary included in the CFError object returned by a function call or call CFErrorGetDomain(_:) and pass in the CFError object and the domain whose value you want to read.