Skip to content
lulalala edited this page Apr 12, 2017 · 13 revisions

Let's make a more OO, more flexible errors object!

Rails' errors object is simple and easy to use. However as requirement gets more complex, its design can no longer match our needs. Recent addition of the details hash solved some issue, but it feels like a tacked on solution.

Here we invite you to add inconveniences you faced, and give suggestions as to how to design an API that can solve your problem, design considerations and so on. Maybe after enough suggestions, we can actually start implementing a new errors system.

Add your requirements or user case below, and propose your solutions.

Requirement

API Design

Clone this wiki locally