ServiceStack/ServiceStack — pull request #52 by Arxisos (2011-12-27 11:52:57+00:00)
Title: Error codes for validation errors

Implemented error codes for validation errors.

Custom error code can be configured by calling:

RuleFor(x => x.Lastname).NotEmpty().WithErrorCode("ShouldNotBeEmpty");