API error reporting
Code style fix. Line length