This module allows you to obtain the definitions for Profiles and Errors

A simple test form is available here