diff options
| author | 2014-10-22 17:57:22 +0200 | |
|---|---|---|
| committer | 2014-10-22 17:57:22 +0200 | |
| commit | 98587d5d617f157ba57a260091c8e2c944f5163f (patch) | |
| tree | 24760d52ffc5d3411e986749054d08e3c63fc002 /app/Exceptions/ContextException.php | |
| parent | f1f9b2f5ff60f6dca05fad831b766ea7d63ff3a3 (diff) | |
Fix a set of TODO and bugs
- Context object raises correct Exception if get is invalid
- RSS feed is well-indicated on the home page
- State is better calculated
- Add some comments
See https://github.com/marienfressinaud/FreshRSS/issues/634
Diffstat (limited to 'app/Exceptions/ContextException.php')
| -rw-r--r-- | app/Exceptions/ContextException.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/Exceptions/ContextException.php b/app/Exceptions/ContextException.php new file mode 100644 index 000000000..357751b7c --- /dev/null +++ b/app/Exceptions/ContextException.php @@ -0,0 +1,10 @@ +<?php + +/** + * An exception raised when a context is invalid + */ +class FreshRSS_Context_Exception extends Exception { + public function __construct($message) { + parent::__construct($message); + } +} |
