public CompilingFailedException(ExpectedError response) { Response = response; }
/// <summary> /// Creates a new instance of <see cref="ExpectedSyncException"/>. /// </summary> /// <param name="expectedError">The expected error category that occurred.</param> /// <param name="innerException">The exception that caused this exception.</param> public ExpectedSyncException(ExpectedError expectedError, Exception innerException) : base( "An expected exception occurred: " + expectedError.ToString(), innerException) { this.expectedError = expectedError; }
public CompilingFailedException(string error, HttpStatusCode statusCode) { Response = new ExpectedError(statusCode, "Compiling Error", error); }