Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250620) (7d9030acd6e)
rating_exception Class Reference

The rating_exception class for exceptions specific to the ratings system. More...

Inheritance diagram for rating_exception:

Public Member Functions

 __construct ($errorcode)
 Generate exceptions that can be easily identified as coming from the ratings system.
 

Public Attributes

string $message
 The message to accompany the thrown exception.
 

Detailed Description

The rating_exception class for exceptions specific to the ratings system.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
Since
Moodle 2.0

Constructor & Destructor Documentation

◆ __construct()

rating_exception::__construct ( $errorcode)

Generate exceptions that can be easily identified as coming from the ratings system.

Parameters
string$errorcodethe error code to generate

The documentation for this class was generated from the following file: