Skip to content

Commit 1088bcd

Browse files
committed
add file
1 parent 96404fa commit 1088bcd

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
3+
* This product includes software developed at Datadog (https://www.datadoghq.com/).
4+
* Copyright 2016-Present Datadog, Inc.
5+
*/
6+
7+
package com.datadog.android.flags.internal.net
8+
9+
/**
10+
* Exception thrown when a network request for flag evaluations fails.
11+
*
12+
* This exception is used internally to communicate network failures when updating evaluation
13+
* contexts. It provides a clear signal that the failure was due to network connectivity issues
14+
* rather than application logic errors.
15+
*
16+
* @param message A descriptive message about the network failure
17+
*/
18+
internal class NetworkRequestFailedException(message: String) : RuntimeException(message)

0 commit comments

Comments
 (0)