Files
wasmtime/crates/misc/dotnet/src/WasmtimeException.cs
Peter Huene 9fdf5bce8e Move Wasmtime for .NET to the Wasmtime repo.
This moves the Wasmtime for .NET implementation to the Wasmtime repo.

Wasmtime for .NET is a binding of the Wasmtime API for use in .NET.
2019-11-22 18:26:33 -08:00

25 lines
663 B
C#

using System;
using System.Runtime.Serialization;
namespace Wasmtime
{
/// <summary>
/// The base type for Wasmtime exceptions.
/// </summary>
[System.Serializable]
public class WasmtimeException : Exception
{
/// <inheritdoc/>
public WasmtimeException() { }
/// <inheritdoc/>
public WasmtimeException(string message) : base(message) { }
/// <inheritdoc/>
public WasmtimeException(string message, Exception inner) : base(message, inner) { }
/// <inheritdoc/>
protected WasmtimeException(SerializationInfo info, StreamingContext context) : base(info, context) { }
}
}