This commit introduces dedicated return type for custom_handler. Relevant code is updated to fulfill the API documentation. Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no>