// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. using System; namespace Flax.Build { /// /// The unsupported platform exception for code paths that require other platform. /// /// public class InvalidPlatformException : Exception { /// /// Initializes a new instance of the class. /// /// The platform. public InvalidPlatformException(TargetPlatform platform) : base(string.Format("Unknown platform {0}.", platform)) { } /// /// Initializes a new instance of the class. /// /// The platform. /// The additional message. public InvalidPlatformException(TargetPlatform platform, string message) : base(string.Format("Unknown platform {0}. " + message, platform)) { } } }