Remove `echo` from the name.  Standard WP conventions are, if any, that `the_thing()` echos the things, where `get_the_thing()` returns it. `_wpsc_shipping_error_messages` should be sufficient for now.