[api-minor] Remove the type from RenderingCancelledException (PR 16226 follow-up)

After PR 16226 we're only using `RenderingCancelledException` together with canvas-rendering, hence the `type`-property is no longer necessary.
This commit is contained in:
Jonas Jenwald 2023-06-14 15:40:25 +02:00
parent 9af50dc358
commit 225734dd00
3 changed files with 1 additions and 4 deletions

View file

@ -583,9 +583,8 @@ class PageViewport {
}
class RenderingCancelledException extends BaseException {
constructor(msg, type, extraDelay = 0) {
constructor(msg, extraDelay = 0) {
super(msg, "RenderingCancelledException");
this.type = type;
this.extraDelay = extraDelay;
}
}