mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 05:22:54 +08:00
22 lines
659 B
C#
22 lines
659 B
C#
|
// 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.Utils
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Log to sentry without showing an error notification to the user.
|
||
|
/// </summary>
|
||
|
/// <remarks>
|
||
|
/// This can be used to convey important diagnostics to us developers without
|
||
|
/// getting in the user's way. Should be used sparingly.</remarks>
|
||
|
internal class SentryOnlyDiagnosticsException : Exception
|
||
|
{
|
||
|
public SentryOnlyDiagnosticsException(string message)
|
||
|
: base(message)
|
||
|
{
|
||
|
}
|
||
|
}
|
||
|
}
|