I believe you can get "silent" pancreatitis, which I think can be caused by repeated irritation of the gall bladder/bile duct.
My mother had 3 very acute bouts of pancreatitis and it was related to/caused by her gall bladder issues. She was never, to the best of my knowledge, checked for diabetes, but I now suspect that may be why she ended up having strokes which ultimately killed her, but she also had other digestive issues which seriously affected her quality of life and I am now sure were linked to pancreatic damage from the pancreatitis. Sadly I knew nothing about diabetes at that time as I was not diagnosed myself. Now I look back on her symptoms and wish I had known what I know now, so that I could have pushed for appropriate testing and treatment.
I suspect diabetes due to pancreatic damage ie Type 3c may well be far more common than is currently diagnosed because it is far too easy to stick the Type 2 label on people without looking any further.