Oracle Message PLS-00362 - invalid cursor return type; string must be a record type

ERRORinvalid cursor return type; string must be a record type
CAUSEIn a cursor specification or REF CURSOR type definition, a non- record type such as NUMBER or TABLE was specified as the return type. This is not allowed. Only the following return types are allowed: %TYPE %ROWTYPE %ROWTYPE %ROWTYTPE
ACTIONRevise the cursor specification or REF CURSOR type definition so that it specifies one of the above return types.