public static NetMQException Create([NotNull] SocketException innerException) { return(NetMQException.Create(innerException.SocketErrorCode, innerException)); }
public static NetMQException Create(ErrorCode errorCode) { return(NetMQException.Create(null, errorCode)); }
public static NetMQException Create([CanBeNull] string message, ErrorCode errorCode) { return(NetMQException.Create(errorCode, message, null)); }
public static NetMQException Create(ErrorCode errorCode, [CanBeNull] Exception innerException) { return(NetMQException.Create(errorCode, null, innerException)); }