예제 #1
0
        public static VCErrorResult Error(string error, string errorDescription = null)
        {
            var response = new VCErrorResponse
            {
                Error            = error,
                ErrorDescription = errorDescription
            };

            return(new VCErrorResult(response));
        }
예제 #2
0
 public VCErrorResult(VCErrorResponse error)
 {
     Response = error;
 }