Merge "DatabaseMssql: Don't duplicate body of makeList()"
[mediawiki.git] / includes / htmlform / HTMLFormFieldRequiredOptionsException.php
blob76f5286633228187083ae2eae35164d30d0d390b
1 <?php
3 class HTMLFormFieldRequiredOptionsException extends MWException {
4 public function __construct( HTMLFormField $field, array $missing ) {
5 parent::__construct( sprintf( "Form type `%s` expected the following parameters to be set: %s",
6 get_class( $field ),
7 implode( ', ', $missing ) ) );