Sid Gifari File Manager
🏠 Root
/
home2
/
iuywvcmy
/
www
/
wp-content
/
plugins
/
wpforms-lite
/
vendor_prefixed
/
apimatic
/
core
/
src
/
Exceptions
/
Editing: AuthValidationException.php
<?php declare (strict_types=1); namespace WPForms\Vendor\Core\Exceptions; use InvalidArgumentException; /** * Authentication Validation Exception. */ class AuthValidationException extends InvalidArgumentException { private const ERROR_MESSAGE_PREFIX = "Following authentication credentials are required:\n-> "; /** * Initialize a new instance of AuthValidationException * * @param string[] $errors An array of errors in authentication validation */ public static function init(array $errors) : AuthValidationException { return new self(self::ERROR_MESSAGE_PREFIX . \join("\n-> ", $errors)); } }
Save
Cancel