1234567891011121314151617181920212223 |
- using System;
- using System.Collections.Generic;
- namespace InABox.Clients
- {
- public class RemoteException : Exception
- {
- public StatusCode? Status;
- public RemoteException(IEnumerable<string> messages) : base(string.Join("\n", messages))
- {
- }
- public RemoteException(string message) : base(message)
- {
- }
- public RemoteException(string message, StatusCode statusCode) : base(message)
- {
- Status = statusCode;
- }
- }
- }
|