mirror of
https://github.com/actions/runner.git
synced 2025-12-10 12:36:23 +00:00
21 lines
476 B
C#
21 lines
476 B
C#
using System;
|
|
|
|
namespace GitHub.Actions.Expressions
|
|
{
|
|
public class ExpressionException : Exception
|
|
{
|
|
internal ExpressionException(ISecretMasker secretMasker, String message)
|
|
{
|
|
if (secretMasker != null)
|
|
{
|
|
message = secretMasker.MaskSecrets(message);
|
|
}
|
|
|
|
m_message = message;
|
|
}
|
|
|
|
public override String Message => m_message;
|
|
|
|
private readonly String m_message;
|
|
}
|
|
} |