mirror of
https://github.com/leiurayer/downkyi.git
synced 2025-03-25 00:30:11 +08:00
26 lines
721 B
C#
26 lines
721 B
C#
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;
|
|
}
|
|
}
|
|
}
|