[FIX] Return better message when socket failed
[IMP] Move exception into a separate file
[IMP] return better error message when use Connection or Databse component