mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-14 11:57:42 +01:00
* wip * hacky fix for overlapping event text in profiler * move IsResumeGameAfterPluginLoad logic to PluginManager * fix some warnings * handle exceptions properly * remove ability to cancel, rename button to "hide" instead * undo Dalamud.Service refactor for now * warnings * add explainer, show which plugins are still loading * add some text if loading takes more than 3 minutes * undo wrong CS merge
19 lines
835 B
C#
19 lines
835 B
C#
namespace Dalamud.Plugin.Ipc.Exceptions;
|
|
|
|
/// <summary>
|
|
/// This exception is thrown when a null value is provided for a data cache or it does not implement the expected type.
|
|
/// </summary>
|
|
public class DataCacheCreationError : IpcError
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="DataCacheCreationError"/> class.
|
|
/// </summary>
|
|
/// <param name="tag">Tag of the data cache.</param>
|
|
/// <param name="creator">The assembly name of the caller.</param>
|
|
/// <param name="expectedType">The type expected.</param>
|
|
/// <param name="ex">The thrown exception.</param>
|
|
public DataCacheCreationError(string tag, string creator, Type expectedType, Exception ex)
|
|
: base($"The creation of the {expectedType} data cache {tag} initialized by {creator} was unsuccessful.", ex)
|
|
{
|
|
}
|
|
}
|