Comments (4)
@r4j4h this package is completely transparent about this, stages should handle exception internally and if not the consumer of the pipeline should be aware that exception will bubble up if not dealt with. It's a per-case decision really. If pipeline would formalise, this it would only be limiting.
from pipeline.
That methodology makes sense to me. I do agree with @r4j4h that perhaps it should be mentioned in the docs/README somewhere, as I can see this being a common question.
from pipeline.
@r4j4h @colinodell I've added a note in the documentation about this: http://pipeline.thephpleague.com/usage/#exception-handling
from pipeline.
Perfect! Thanks so much you two :)
from pipeline.
Related Issues (20)
- Pipeline should use call_user_func HOT 2
- Add variadic variable to __invoke HOT 4
- Add PipelineBuilderInterface HOT 3
- Remove InterruptibleProcessor and Rename FingersCrossedProcessor HOT 3
- quick question on the pipe methos HOT 2
- tag new version with processor included
- Never heard of a pattern named pipeline HOT 2
- Isn't process method available on PipelineInterface? It's expected to be there. HOT 5
- [feature request] Inject errorHandler into processor (optional) HOT 1
- [Feature Request] Attach a listener to a pipeline HOT 2
- [Feature Request] Fork-Join HOT 2
- Generator Processor HOT 1
- When to use a PipelineBuilder? HOT 1
- Simple question HOT 6
- windows is ok? HOT 2
- How to use $check in InterruptibleProcessor.php? HOT 1
- PipelineBuilder build returns PipelineBuilderInterface in error HOT 2
- [Feature Request] Lazily retrieve pipeline stages from PSR-11 container HOT 3
- Why do you want to clone the current object when you execute the pipe method? HOT 1
- PipelineInterface does not have a `process` method HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pipeline.