QOL - make error used for type checking more generic
QOL - make error used for type checking more generic

richard-roberts/SOMns,richard-roberts/SOMns,richard-roberts/SOMns,richard-roberts/SOMns,richard-roberts/SOMns,richard-roberts/SOMns,richard-roberts/SOMns