Skip to content

Commit 33f05c2

Browse files
committed
Add report and render method to RepositoryException
1 parent c1d8848 commit 33f05c2

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

src/Exceptions/RepositoryException.php

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,24 @@
66

77
class RepositoryException extends Exception
88
{
9-
//
9+
/**
10+
* Report the exception.
11+
*
12+
* @return void
13+
*/
14+
public function report()
15+
{
16+
//
17+
}
18+
19+
/**
20+
* Render the exception into an HTTP response.
21+
*
22+
* @param \Illuminate\Http\Request
23+
* @return \Illuminate\Http\Response
24+
*/
25+
public function render($request)
26+
{
27+
// return response(...);
28+
}
1029
}

0 commit comments

Comments
 (0)