You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
downkyi/Brotli.Core/Exception/BrotliDecodeException.cs

26 lines
721 B

using System;
namespace Brotli
{
public class BrotliDecodeException : BrotliException
{
public int Code { get; set; }
public String ErrorText { get; set; }
public BrotliDecodeException(int code, String errorText) : base() {
Code = code;
ErrorText = errorText;
}
public BrotliDecodeException(String message, int code, String errorText) : base(message) {
Code = code;
ErrorText = errorText;
}
public BrotliDecodeException(String message, Exception innerException, int code, String errorText) : base(message, innerException) {
Code = code;
ErrorText = errorText;
}
}
}