您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

29 行
1.1 KiB

using System;
namespace Unity.Services.Core
{
/// <summary>
/// Represents an error during services initialization
/// </summary>
public class ServicesInitializationException : Exception
{
/// <inheritdoc cref="ServicesInitializationException(string, Exception)"/>
public ServicesInitializationException() {}
/// <inheritdoc cref="ServicesInitializationException(string, Exception)"/>
public ServicesInitializationException(string message)
: base(message) {}
/// <summary>
/// Initializes a new instance of the <see cref="ServicesInitializationException" /> class.
/// </summary>
/// <param name="message">
/// The error message that explains the reason for the exception.
/// </param>
/// <param name="innerException">
/// The exception that is the cause of the current exception, if any.
/// </param>
public ServicesInitializationException(string message, Exception innerException)
: base(message, innerException) {}
}
}