File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -497,10 +497,10 @@ export class AzureAppConfigurationImpl implements AzureAppConfiguration {
497497 } else { // snapshot selector
498498 const snapshot = await this . #getSnapshot( selector . snapshotName ) ;
499499 if ( snapshot === undefined ) {
500- throw new Error ( `Could not find snapshot with name ${ selector . snapshotName } .` ) ;
500+ throw new InvalidOperationError ( `Could not find snapshot with name ${ selector . snapshotName } .` ) ;
501501 }
502502 if ( snapshot . compositionType != KnownSnapshotComposition . Key ) {
503- throw new Error ( `Composition type for the selected snapshot with name ${ selector . snapshotName } must be 'key'.` ) ;
503+ throw new InvalidOperationError ( `Composition type for the selected snapshot with name ${ selector . snapshotName } must be 'key'.` ) ;
504504 }
505505 const pageIterator = listConfigurationSettingsForSnapshotWithTrace (
506506 this . #requestTraceOptions,
You can’t perform that action at this time.
0 commit comments