- Notifications
You must be signed in to change notification settings - Fork 488
/
Copy pathExceptions.cs
20 lines (17 loc) · 892 Bytes
/
Exceptions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
namespaceAmazon.Lambda.TestTool.Models;
/// <summary>
/// Represents a base exception that is thrown by the test tool.
/// </summary>
/// <param name="message">The message used in the exception.</param>
/// <param name="innerException">The inner exception, if any.</param>
publicabstractclassTestToolException(stringmessage,Exception?innerException=null)
:Exception(message,innerException);
/// <summary>
/// Thrown if the API Gateway Emulator mode was not provided,
/// </summary>
/// <param name="message">The message used in the exception.</param>
/// <param name="innerException">The inner exception, if any.</param>
publicclassInvalidApiGatewayModeException(stringmessage,Exception?innerException=null)
:TestToolException(message,innerException);