using System;
namespace Unity.Services.Mediation
{
///
/// The exception returned when Mediation load fails.
///
public class LoadFailedException : Exception
{
///
/// Accompanying error enum instance to this load exception.
///
public LoadError LoadError;
internal LoadFailedException(LoadError loadError, string message) : base(message)
{
LoadError = loadError;
}
}
}