vcl: new vcl api to get detailed session errors