MediaWiki REL1_39
Wikimedia\Metrics\Exceptions Namespace Reference

InvalidConfigurationException. More...

Classes

class  InvalidConfigurationException
 
class  InvalidLabelsException
 
class  UndefinedPrefixException
 
class  UnsupportedFormatException
 

Detailed Description

InvalidConfigurationException.

UnsupportedFormatException.

UndefinedPrefixException.

InvalidLabelsException.

This exception is raised when MetricsFactory or Metric gets an associative array as configuration that it cannot use to properly instantiate a Metric.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Note
GPL-2.0-or-later
Author
Cole White
Since
1.38

This exception is raised when a Metric instance receives more or fewer labels than there are named labels at the time of Metric instantiation.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Note
GPL-2.0-or-later
Author
Cole White
Since
1.38

This exception is raised when a prefix is not defined or is empty in the LocalSettings configuration.

See: $wgMetricsPrefix

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Note
GPL-2.0-or-later
Author
Cole White
Since
1.38

Raised when a metrics format is defined in the LocalSettings configuration, but is not supported.

See: MetricsFactory::SUPPORTED_OUTPUT_FORMATS and $wgMetricsFormat

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Note
GPL-2.0-or-later
Author
Cole White
Since
1.38