feat(plugins/pagerduty): add NotFoundError
Signed-off-by: Alec Jacobs <cajacobs5401@gmail.com>
This commit is contained in:
@@ -34,6 +34,7 @@ import {
|
||||
} from '@backstage/core-plugin-api';
|
||||
|
||||
export class UnauthorizedError extends Error {}
|
||||
export class NotFoundError extends Error {}
|
||||
|
||||
export const pagerDutyApiRef = createApiRef<PagerDutyApi>({
|
||||
id: 'plugin.pagerduty.api',
|
||||
|
||||
@@ -14,5 +14,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { PagerDutyClient, pagerDutyApiRef, UnauthorizedError } from './client';
|
||||
export {
|
||||
PagerDutyClient,
|
||||
pagerDutyApiRef,
|
||||
UnauthorizedError,
|
||||
NotFoundError,
|
||||
} from './client';
|
||||
export type { PagerDutyApi } from './types';
|
||||
|
||||
Reference in New Issue
Block a user