Creates a new TrustPinException with the specified code and message.
const TrustPinException(this.code, this.message, [this.details]);