Message Oracle PLW-05005 - function string returns without value at line string

ERRORfunction string returns without value at line string
CAUSEThe function exited without a return value. Return statements are required for all PL/SQL functions.
ACTIONInspect 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.