caferr.h File Reference

Detailed Description

This contains error code definitions required by clients accessing the Content Access Framework.

All CAF error codes lie within the range KErrCA_LowerLimit to KErrCA_UpperLimit inclusive.

KErrCA_UpperLimit

const TIntKErrCA_UpperLimit

This is the upper limit of the CAF error code range.

Example usage:
if (KErrCA_LowerLimit <= err && err <= KErrCA_UpperLimit)
	{
	// handle CAF-specific error
	}

KErrCA_LowerLimit

const TIntKErrCA_LowerLimit

This is the lower limit of the CAF error code range.

Example usage:
if (KErrCA_LowerLimit <= err && err <= KErrCA_UpperLimit)
	{
	// handle CAF-specific error
	}

KErrCANotSupported

const TIntKErrCANotSupported

Agent does not support the requested capability.

KErrCANoPermission

const TIntKErrCANoPermission

Rights evaluation failed for the supplied intent. This implies that rights were available, but their evaluation, in the context of supplied intent, failed.

KErrCANoRights

const TIntKErrCANoRights

No rights were available for evaluation. A number of causes may generate this error: Perhaps the rights were removed or lost during a separate delivery

KErrCANoAgent

const TIntKErrCANoAgent

The Agent required is not present. This may occur if content 'belongs' to an agent that is no longer available on the device.

KErrCAOutOfRange

const TIntKErrCAOutOfRange

Values specified are out of range.

KErrCAPendingRights

const TIntKErrCAPendingRights

The rights were not available but are 'expected'. Will only be returned if the agent supports this capability.

KErrCASizeNotDetermined

const TIntKErrCASizeNotDetermined

A request to get the content size failed because the agent was unable to determine it. This error may occur on circumstances where, say, the content is streamed over HTTP.

KErrCANewFileHandleRequired

const TIntKErrCANewFileHandleRequired

The function failed because the agent needs the client to provide another file handle before the import can continue

KErrCACorruptRights

const TIntKErrCACorruptRights

The rights object failed an integrity check.

This error is returned when a client attempts an operation which requires accessing a rights object.

KErrCACorruptContent

const TIntKErrCACorruptContent

The content object failed an integrity check.

This error is returned when a client attempts an operation which requires accessing a content object.