File: test/FooException.php

Recommend this page to a friend!
  Classes of Scott Arciszewski  >  Corner  >  test/FooException.php  >  Download  
File: test/FooException.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Corner
Implements exceptions and errors with more details
Author: By
Last change:
Date: 1 year ago
Size: 517 bytes
 

Contents

Class file image Download
<?php
declare(strict_types=1);
namespace
ParagonIE\Corner\Tests;

use
ParagonIE\Corner\Exception;

/**
 * Class FooException
 * @package ParagonIE\Corner\Tests
 */
class FooException extends Exception
{
    public function
__construct(string $message = "", int $code = 0, \Throwable $previous = null)
    {
       
parent::__construct($message, $code, $previous);
       
$this->helpfulMessage = "This is an example of the Exception class";
       
$this->supportLink = "https://github.com/paragonie/corner";
    }
}


For more information send a message to info at phpclasses dot org.