Skip to content

Commit 46c3d9a

Browse files
authored
Remove ErrorKind::MockFramework (Azure#3195)
1 parent d21d2e6 commit 46c3d9a

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

sdk/core/azure_core/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
- Removed `constants` module.
1010
- Removed `CustomHeaders` policy.
11+
- Removed `ErrorKind::MockFramework`.
1112

1213
### Bugs Fixed
1314

sdk/typespec/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
### Breaking Changes
88

9+
- Removed `ErrorKind::MockFramework`.
10+
911
### Bugs Fixed
1012

1113
### Other Changes

sdk/typespec/src/error/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ pub enum ErrorKind {
3535
DataConversion,
3636
/// An error getting an API credential token.
3737
Credential,
38-
/// An error having to do with the mock framework.
39-
MockFramework,
4038
/// A catch all for other kinds of errors.
4139
Other,
4240
}
@@ -64,7 +62,6 @@ impl Display for ErrorKind {
6462
ErrorKind::Io => f.write_str("Io"),
6563
ErrorKind::DataConversion => f.write_str("DataConversion"),
6664
ErrorKind::Credential => f.write_str("Credential"),
67-
ErrorKind::MockFramework => f.write_str("MockFramework"),
6865
ErrorKind::Other => f.write_str("Other"),
6966
#[cfg(feature = "amqp")]
7067
ErrorKind::Amqp => f.write_str("Amqp"),

sdk/typespec/typespec_client_core/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
### Breaking Changes
88

99
- Removed `CustomHeaders` policy.
10+
- Removed `ErrorKind::MockFramework`.
1011

1112
### Bugs Fixed
1213

0 commit comments

Comments
 (0)