Creates a new SKError object with the provided information.
const SKError( {required this.code, required this.domain, required this.userInfo});