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 @@ -500,10 +500,10 @@ export class AzureAppConfigurationImpl implements AzureAppConfiguration {
500500 } else { // snapshot selector
501501 const snapshot = await this . #getSnapshot( selector . snapshotName ) ;
502502 if ( snapshot === undefined ) {
503- throw new Error ( `Could not find snapshot with name ${ selector . snapshotName } .` ) ;
503+ throw new InvalidOperationError ( `Could not find snapshot with name ${ selector . snapshotName } .` ) ;
504504 }
505505 if ( snapshot . compositionType != KnownSnapshotComposition . Key ) {
506- throw new Error ( `Composition type for the selected snapshot with name ${ selector . snapshotName } must be 'key'.` ) ;
506+ throw new InvalidOperationError ( `Composition type for the selected snapshot with name ${ selector . snapshotName } must be 'key'.` ) ;
507507 }
508508 const pageIterator = listConfigurationSettingsForSnapshotWithTrace (
509509 this . #requestTraceOptions,
You can’t perform that action at this time.
0 commit comments