mark invalid url as user error

This commit is contained in:
Shish 2021-11-16 14:55:37 +00:00
parent 68a128c0ea
commit bed0db40d7

View file

@ -101,7 +101,7 @@ class PageRequestEvent extends Event
return $this->args[$offset];
} else {
$nm1 = $this->arg_count - 1;
throw new SCoreException("Requested an invalid page argument {$offset} / {$nm1}");
throw new UserErrorException("Requested an invalid page argument {$offset} / {$nm1}");
}
}