Add function for server triggers to result in verbose message to user on failure.
Server side triggers currently return 0 for pass, and non-zero for failures. It would be nice to be able to define a table of custom triggerReturnCodes on the server that is retrieved by the client. When a client performs an action that results in a server-side trigger failure the non-zero return code can be used to lookup the error code and provide the user with a more robust message describing the failure.
For example, this robust message could mention pattern restrictions, size requirements, or direct the user to review compliance documents or retrieve crucial developer environment assets/scripts.
1
vote
Eric Corey
shared this idea