Reactjs Rails Api How Do I Send The Active Record Validation Error

Reactjs Rails Api How Do I Send The Active Record Validation Error