Class Socialveo\Core\exceptions\TranslatedException

InheritanceSocialveo\Core\exceptions\TranslatedException » Exception

Class TranslatedException

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() TranslatedException constructor. Socialveo\Core\exceptions\TranslatedException

Method Details

__construct() public method

TranslatedException constructor.

Usage:

  • simple: throw new TranslatedException('Some translated text');
  • query: throw new TranslatedException(['Some %replace% text', 'replace' => 'translated']);
public void __construct ( $message, $code 0, Exception $previous null )
$message string|array
$code integer

[optional]

$previous Exception

[optional]

throws Exception