wiki.techinc.nl/includes/htmlform/HTMLFormFieldRequiredOptionsException.php
addshore 8fa2314b2e Formatting fixes in includes/htmlform/*
Change-Id: Iee9e4f3fcf8491022ffe97c74312871f97f8ce9c
2013-12-09 14:23:05 +01:00

9 lines
305 B
PHP

<?php
class HTMLFormFieldRequiredOptionsException extends MWException {
public function __construct( HTMLFormField $field, array $missing ) {
parent::__construct( sprintf( "Form type `%s` expected the following parameters to be set: %s",
get_class( $field ),
implode( ', ', $missing ) ) );
}
}