Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 26 lines (14 sloc) 0.635 kb
d38d4f3 Jotting some more notes for myself.
Jeffrey Ryan Thalhammer authored
1 Exception strategy...
2
3 All untrapped error messages need to go through the log so they get
4 transmitted to the client
5
6 Exceptions that originate from an Action do not require a stack trace.
7
8 Exception that arise due to invalid user input do not require a stack
9 trace.
10
11 Exceptions that are not expected (db, network, file system) do require
12 a stack trace.
13
14 If the log level is debug, then all errors should be recorded with a
15 stack trace.
16
17 Data validation strategy...
18
19 Actions should validate as much as possible during construction.
20
21 The Repository should validate arguments.
22
23 The Database & collaborators may not validate arguments.
24
25
Something went wrong with that request. Please try again.