public PaperspaceException(PaperspaceError error, Exception innerException) : base(error.Message, innerException) { Ensure.ArgumentNotNull(error, nameof(error)); Error = error; }
/// <summary> /// Constructs an instance of PaperspaceException /// </summary> /// <param name="response">The HttpResponseMessage</param> public PaperspaceException(PaperspaceError error) : this(error, null) { }