blob: ff6a0337b7b50e6fb16b3122c40339fcf6daef8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
using System;
using System.Runtime.InteropServices;
namespace SoundIOSharp
{
public class SoundIOException : Exception
{
internal SoundIOException (SoundIoError errorCode)
: base (Marshal.PtrToStringAnsi (Natives.soundio_strerror ((int) errorCode)))
{
}
}
}
|