Merge branch 'MDL-83798-main' of https://github.com/srobotta/moodle

This commit is contained in:
Andrew Nicols
2025-03-08 21:13:19 +08:00
+5 -5
View File
@@ -597,7 +597,7 @@ class processor {
*/
public function requires_form_features(): void {
if (!$this->supports_form_features()) {
throw new \coding_exception('Form features are not supported by the provider');
throw new \coding_exception('Form features are not supported by the provider ' . get_class($this->provider));
}
}
@@ -615,7 +615,7 @@ class processor {
*/
public function require_user_features(): void {
if (!$this->supports_user_features()) {
throw new \coding_exception('User features are not supported by the provider');
throw new \coding_exception('User features are not supported by the provider ' . get_class($this->provider));
}
}
@@ -642,7 +642,7 @@ class processor {
*/
public function require_room_features(): void {
if (!$this->supports_room_features()) {
throw new \coding_exception('room features are not supported by the provider');
throw new \coding_exception('room features are not supported by the provider ' . get_class($this->provider));
}
}
@@ -651,7 +651,7 @@ class processor {
*/
public function require_room_user_features(): void {
if (!$this->supports_room_user_features()) {
throw new \coding_exception('room features are not supported by the provider');
throw new \coding_exception('room user features are not supported by the provider ' . get_class($this->provider));
}
}
@@ -669,7 +669,7 @@ class processor {
*/
public function require_sync_provider_features(): void {
if (!$this->supports_sync_provider_features()) {
throw new \coding_exception('sync features are not supported by the provider');
throw new \coding_exception('sync features are not supported by the provider ' . get_class($this->provider));
}
}