// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

using System;

namespace osu.Game.Skinning
{
    public class UnsupportedSkinComponentException : Exception
    {
        public UnsupportedSkinComponentException(ISkinComponent component)
            : base($@"Unsupported component type: {component.GetType()}(""{component.LookupName}"").")
        {
        }
    }
}

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

using System;

namespace osu.Game.Skinning
{
    public class UnsupportedSkinComponentException : Exception
    {
        public UnsupportedSkinComponentException(ISkinComponent component)
            : base($@"Unsupported component type: {component.GetType()} (lookup: ""{component.LookupName}"").")
        {
        }
    }
}

Add a touch more detail to the unsupported skin component exception
Add a touch more detail to the unsupported skin component exception
