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.
20 lines
436 B
20 lines
436 B
using System; |
|
|
|
namespace AX.AudioSystem |
|
{ |
|
public class OpusException : Exception |
|
{ |
|
public OpusErrorCode ErrorCode { get; private set; } |
|
|
|
public OpusException(OpusErrorCode errorCode) |
|
{ |
|
this.ErrorCode = errorCode; |
|
} |
|
|
|
public OpusException(OpusErrorCode errorCode, string message) : |
|
base(message) |
|
{ |
|
this.ErrorCode = errorCode; |
|
} |
|
} |
|
} |