All Oracle Error CodesOracle DBA Forum

PLW-05005:

function string returns without value at line string
Cause: The function exited without a return value. Return statements are required for all PL/SQL functions.
Action: Inspect the function source code for exit points, and place a return at each point so that no runtime error will be generated when the function exits. NLS_DO_NOT_TRANSLATE [5400,5401]