Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
[Improvement] Now you can create internal exeption with NitroExceptio…
Browse files Browse the repository at this point in the history
…n class 😄
  • Loading branch information
GothShoot committed Jan 29, 2019
1 parent ddfdc7f commit b4eac47
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions BaseClass/Exception.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

namespace Alzundaz\NitroPHP\BaseClass;

use Module\ProfilerModule\Services\Profiler;


class NitroException
{
public function __construct($type, $message, $file, $line)
{
Profiler::getInstance()->setError($type, $message, $file, $line);
}

public function __destruct()
{
// Todo
}
}

0 comments on commit b4eac47

Please sign in to comment.