Implemented remaining error response calls

This commit is contained in:
Colin Adams
2013-08-08 10:39:46 +01:00
parent eade6d584c
commit 4c901c3130
4 changed files with 37 additions and 7 deletions

View File

@@ -25,6 +25,16 @@ feature {NONE} -- Initialization
create error_added_actions
end
feature -- Access
primary_error_code: INTEGER
-- Code of first error in `errors'
require
at_least_one_error: has_error
do
Result := errors.first.code
end
feature -- Status
has_error: BOOLEAN